You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ezra <ez...@acedsl.com> on 2003/03/12 10:06:40 UTC
[users@httpd] Named Based virtual host not working
Hello all:
I'm attempting to host two websites on my Apache
Server 1.3.22(I know its old). My configuration is as follows:
NameVirtualHost xxx.xxx.xxx.xxx
<VirtualHost xxx.xxx.xxx.xxx>
ServerName blahblah.org
DocumentRoot "/var/www/html/blah"
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx>
ServerName blah2blah2.com
DocumentRoot "/var/www/html/blah2"
#ServerAlias www.blah2blah2.com
</VirtualHost>
Note: The first virtual host is my primary server.
I Think I'm doing everything ok(So whats the problem). The first
virtual host works fine. Its the second virtual that's not working. I
added entries in my DNS servers and the second virtual host still is
not working. The Apache documentation doesn't say what files in the DNS
servers should be modified( named.conf, forward mapping zone, reverse
mapping zone). Should I add a zone in name.conf? I'm running my own
DNS servers, so I can make changes on the fly. If you guys need more
information, just say so.
Thank You
Ezra Taylor
---------------------------------------------------------------------
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