[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Default site on IP
- Subject: Re: [cobalt-users] Default site on IP
- From: "Rodolfo J. Paiz" <rpaiz@xxxxxxxxxxxxxx>
- Date: Wed Jun 20 13:30:24 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 6/15/01 08:18 PM +0000, you wrote:
If you are using multiple sites on one domain, it seems that the default
site is the one that is created first on the the IP (which makes
sense). So if I create domain1.com, domain2.com, domain3.com in that
order on ip 111.111.111.111, then when viewing by the IP I would see the
site for domain1.com.
So my question is...how do you change the order? If I want domain3.com to
be the default down the road, is there a way to make the switch. Would
switching the name on the sites still maintain the /home/sites/site##?
"Changing the order" is the key phrase, and it is right.
In /etc/httpd/conf/httpd.conf, the first VirtualHost listed for the IP
address is the one displayed by default. If you move a site to be the first
one on the list, that will then be the default. No need to change names or
numbers.
However, the GUI will overwrite this change, I think; how to make it
permanent needs a little more thought.
--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx