httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emil" <eboha...@eibassoc.com>
Subject Re: [users@httpd] can't get virtual hosts to work
Date Fri, 03 Jan 2003 21:58:20 GMT
It worked

I set the hosts file to contain:
127.0.0.1   localhost
127.0.0.1   eib.emil
127.0.0.1   son.emil
127.0.0.1   rcg.emil

and put the same address in the vhost directives,
but trying just http://rcg/  gave me errors so I added 3 more to the file
and it works just fine.

I then changed the address to 192.168.0.1
and can now access these local websites from the other computer.

I'll have to watch if other things are affected by these changes, repecially
when I reboot.

Thanks Robert this has been annoying me for almost a year.


----- Original Message -----
From: "Nelson, Robert D." <RDNelson@Mail.Donaldson.com>
To: <users@httpd.apache.org>
Sent: Friday, January 03, 2003 3:11 PM
Subject: RE: [users@httpd] can't get virtual hosts to work


> Emil:
>
> > Sorry Robert, I assumed you were aware of FoxServ.
> > Here is what they are/offer:
> > FoxServ is an Apache / mySQL / PHP installer package for
> > Windows. Unlike
> > NuShpere or PHPTriad, FoxServ features the latest version of
> > all included
> > pacakges, user defined configuration during installation, PHP
> > as a module,
> > PEAR, and the Zend Optimizer
>
> Good to know.
>
> > I appear to have a hosts file that only has: 127.0.0.1 localhost
>
> That's usually default.
>
> > There is another hosts.ics file that is for the Windows
> > Internet Connection
> > Sharing it shows:  192.168.0.1  emil.mshome.net
>
> I don't know what that file is, but it sounds pretty Microsofty.  I can't
> seem to get emil.mshome.net to resolve at all.
>
> > When I try to access http://son/ I get the page not found,
> >
> > this seems to be an Internet Explorer message it states the following:
> >
> >       The page cannot be displayed
> >       The page you are looking for is currently unavailable.
> > The Web site
> > might be experiencing technical difficulties, or you may need
> > to adjust your
> > browser settings.
> >
> > cannot find server or DNS Error
> > Internet Explorer
> >
> > It seems to not be able to resolve the server name/address??
>
> That's a very, very generic error message that IE gives.  It doesn't
> necessarily mean that it had a DNS error.
>
> > Are there other things I can track down to find the problem??
>
> Try adding all the names you would like to use via 127.0.0.1 into the
hosts
> file.  Then, make sure that those names have a VirtualHost entry under
> the...
>
>  NameVirtualHost 127.0.0.1
>
> ...directive in your httpd.conf file.  Let's worry about those for now.
> Bounce the server and see if just those give back responses that fit your
> expectations.  If those work, then let's move on to the others.
>
>  ~ Robert
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message