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/21 07:50:50 UTC
[users@httpd] viewing virtual host in linux not working
Hello all:
When I try to view one of my virtual host using
linux/netscape is receive the message: www.xxx.com could not be found.
But when I view one of my virtual host using
window/netscape/internetexplorer all works fine. Is there a reason for
this. Below is a snippet of my apache and forward mapping zone(DNS).
primaryServer.org. IN A
111.222.333.444
www.primaryServer.org. IN CNAME
primaryServer.org.
www.blahblah.com.primaryServer.org. IN CNAME primaryServer.org.
now my apache.conf file
Listen 111.222.333.444
Listen 80
NameVirtualHost 111.222.333.444:80
<VirtualHost 111.222.333.444:80>
ServerName www.primaryServer.org
DocumentRoot /var/www/html
ServerAlias primaryServer.org
ServerAdmin me@primaryServer.org
</VirtualHost>
<VirtualHost 111.222.333.444:80>
ServerAdmin me2@blahblah.com
ServerName www.blahblah.com
DocumentRoot "/var/www/html/bookstore"
ServerAlias blahblah.com
ErrorLog logs/blahblah.com-error_log
CustomLog logs/blahblah.com-access_log common
#ServerPath /bookstore/
</VirtualHost>
---------------------------------------------------------------------
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