OK, what's the full path to your hosts file? Historically, it has had a tendency to 
wander around.
On Win2K it is in:

<WINNT>\system32\drivers\etc\

Steve

> -----Original Message-----
> From: Giles Roadnight [mailto:[EMAIL PROTECTED]
> Sent: 01 August 2003 16:25
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] hosts
> 
> 
> Yes have tried pinging but nothing happens.
> 
> Httpd.conf:
> 
> NameVirtualHost *
> 
> <VirtualHost *>
>     ServerName desktop
> </VirtualHost>
> 
> <VirtualHost *>
>     DocumentRoot "D:/My Documents/My Webs/site1"
>     ServerName site1
> </VirtualHost>
> 
> <VirtualHost *>
>     DocumentRoot "d:/My Documents/My Webs/site2"
>     ServerName site2
> </VirtualHost>
> 
> hosts:
> 
> # lots of commecnts
> 
> 127.0.0.1       localhost
> 127.0.0.1       site1
> 127.0.0.1       site2
> 
> I have even tried commenting out the localhost entry but that still
> works.
> 
> Giles Roadnight
> http://giles.roadnight.name
> 
> 
> -----Original Message-----
> From: Steve Martin [mailto:[EMAIL PROTECTED] 
> Sent: 01 August 2003 13:58
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] hosts
> 
> Resolution is done HOSTS first, then DNS. Have you tried 
> pinging the new
> hostnames just to make sure they resolve?
> 
> > -----Original Message-----
> > From: Giles Roadnight [mailto:[EMAIL PROTECTED]
> > Sent: 01 August 2003 13:49
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] hosts
> > 
> > 
> > What do you mean by that?
> > 
> > I have done a re-install and am using the hosts file and 
> > httpd.conf file
> > that worked fine with multiple sites bedore.
> > 
> > Surely even if I hadn't told apache I would just get the 
> same name on
> > all of the names anyway?
> > 
> > I am on XP, have no idea what order the resolution is done 
> > in. the names
> > are domain names - i.e. have no extensions like .com.
> > 
> > Giles Roadnight
> > http://giles.roadnight.name
> > 
> > 
> > -----Original Message-----
> > From: Matt Horn [mailto:[EMAIL PROTECTED] 
> > Sent: 01 August 2003 13:30
> > To: [EMAIL PROTECTED]
> > Subject: Re: [ cf-dev ] hosts
> > 
> > have you HUP'ed  apache?
> > 
> > ----- Original Message ----- 
> > From: "Giles Roadnight" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, August 01, 2003 2:26 PM
> > Subject: [ cf-dev ] hosts
> > 
> > 
> > > I have edited my hosts file to include new names that my 
> > apache server
> > > is running but it seems to have no effect. I can ping 
> localhost but
> > none
> > > of the other names in the list. I have re-started my 
> machine but it
> > > still doesn't work. When I try to visit one of the names in my web
> > > browser I get 
> > > 
> > > "the page cannot be displayed"
> > > 
> > > Any ideas?
> > > 
> > > Thanks
> > > 
> > > Giles Roadnight
> > > http://giles.roadnight.name
> > > 
> > > 
> > > -- 
> > > ** Archive: 
> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to