Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 15:07:53 -0600
From:      "Todd Reed" <ex279@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Virtual Hosting with Apache
Message-ID:  <F47ju4TYDij04WcbQlR00003721@hotmail.com>

next in thread | raw e-mail | index | archive | help
I'm having trouble geting my virtual hosting setup.


I've got my Internal DNS pointing to the correct IP address
     192.168.125.240 -- neac1.neaclinic.com
     192.168.125.241 -- neac2.neaclinic.com
     192.168.125.242 -- neac3.neaclinic.com

Here are the Virtual hosting configs from my httpd.conf

<VirtualHost 192.168.125.240>
   ServerAdmin root@beta.neaclinic.com
   DocumentRoot /data/www/htdocs/neac1.com
   ServerName neac1.neaclinic.com
</VirtualHost>
<VirtualHost 192.168.125.241>
   ServerAdmin root@beta.neaclinic.com
   DocumentRoot /data/www/htdocs/neac2.com
   ServerName neac2.neaclinic.com
</VirtualHost>
<VirtualHost 192.168.125.242>
   ServerAdmin root@beta.neaclinic.com
   DocumentRoot /data/www/htdocs/neaclinic.com
   ServerName www.neaclinic.com
</VirtualHost>


I can ping the names from a workstation and they resolve.  I can type the IP 
address into my browser and it connectes to the correct server.
If I put the name in the browser it doesn't make it to the website.

The web server is one machine with multiple alias interfaces on one network 
card.

Any clue on why I cannot hit the websites through the DNS names?


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F47ju4TYDij04WcbQlR00003721>