Quick Apache question

Randy Adams Randy.Adams at Telus.com
Tue Feb 6 20:34:27 UTC 2001



I had a similar problem. You have to define a default named virtual host,
and then define each of your sites as virtual domains. You may want to just
make your default virtual host the same as one of your named virtual hosts.

I can send you a copy of my conf file if you'd like.

Randy Adams - MCSE
Network Manager
Telus Advanced Communications Inc.
(403)503-3011

got snow???
http://www.skiamigos.com


-----Original Message-----
From: NOSPAM.elcid at pinolero.net [mailto:NOSPAM.elcid at pinolero.net]
Sent: Tuesday, February 06, 2001 11:05 AM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Quick Apache question



Hi there.   Yes I have done the following.




################# Named VirtualHosts
NameVirtualHost 64.180.26.16
<VirtualHost 64.180.26.16>
ServerName www.kimotosoft.com
ServerPath /domain
DocumentRoot /var/www/html/vilantros
</VirtualHost>

Well, after I rebooted HTTPD, and tried to reach www.kimotosoft.com
it, gets me the index file I created for it.  So far, so good.  But
then I tried to go to my original Domain name www.pinolero.net and I
get the exact same page!.  I am getting the same index.html for both
domains names; the virtual domain, and the original domain.  I did not
touch httpd.conf file where it states

DocumentRoot /var/www/html

so by default.. anyone going to www.pinolero.net should get
DocumentRoot /var/www/html/index.html  and NOT www.kimotosoft.com
index html which resides in /var/www/html/vilantros

any ideas !!!






More information about the bind-users mailing list