httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Steffler <>
Subject [users@httpd] VirtualHost qeustion
Date Thu, 03 Jul 2003 13:55:01 GMT
I have 3 domains going to the same system and am using the VirtualHost
directives for 2 of the 3 domains.

The problem I'm having is that all 3 sites all point to the main site
instead of their specific sites.

The excerpt from my httpd.conf has:
        DocumentRoot /usr/local/httpd/htdocs/domain2
        ErrorLog /var/log/httpd/error_log

        DocumentRoot /usr/local/httpd/htdocs/domain3
        ServerName www.domain3.xom
        ErrorLog /var/log/httpd/error_log

I've done the DNS to point to the proper address. I've included the
references in the /etc/hosts file.
I've also done the following:
ifconfig eth0:0
ifconfig eth0:1
route add -host dev eth0:0
route add -host dev eth0:1

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message