[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: [cobalt-users] see a virtual site before nameservers are changed to it



On Wednesday 20 March 2002 02:55 pm, Phil Beynon wrote:
> > Is this valid for a virtual site as well?
>
> As far as I know yes,
> As I understand it what happens is the ip address points it to the server
> then apache decides which site you get based upon the site name.
> I'm not sure what would happen if it was the only virtual site on an ip
> address though.
>

It works for any type of a site. (hosts file)
The resolver gets the IP from the hosts file, preventing the client from 
doing a gethostbyname() function call which would FAIL.

-- 
Gerald Waugh
http://www.frontstreetnetworks.com
New Haven, CT, United States of America
11:13pm up 2 days, 7:37, 2 users, load average: 1.15, 1.26, 1.44