[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Virtual Hosts on a Qube2



I have question regarding virtual hosting on a qube2

I have a Qube2 set up behind my ISP's firewall, and using his DNS servers.
I have created user accounts with the GUI for each one of the VirtualHosts
I have restarted my httpd after editing
I have the httpd.conf file defining virtual hosts as the following for each
virtual host (2 entries per domain):

<VirtualHost domainno1.com>
ServerAdmin me@xxxxxxxxxxxx
DocumentRoot /home/users/userdomainno1
ServerName www.domainno1.com
ErrorLog logs/www.domainno1.com-error_log
TransferLog logs/www.domainno1.com-access_log
</VirtualHost>

<VirtualHost www.domainno1.com>
ServerAdmin me@xxxxxxxxxxxx
DocumentRoot /home/users/userdomainno1
ServerName www.domainno1.com
ErrorLog logs/www.domainno1.com-error_log
TransferLog logs/www.domainno1.com-access_log
</VirtualHost>

I have also set up a virtual host for mydomain.com, which is assigned to the
server's IP address, per my ISP's direction, to ensure that mydomain.com
loads correctly.  The DocumentRoot for that VirtualHost is set to
home/groups/home which is where cobalt says the server will load from when
its domain name is requested.

Here is what happens:
mydomain.com and www.mydomain.com appear to resolve properly, in that the
page I published to home/groups/home loads
BUT...
domainno1.com or www.domainno1.com ALSO resolve to the same page as
mydomain.com.

do I have my VirtualHost settings incorrect, or is there a file besides
httpd.conf that I need to edit to insure proper resolution of these domains?

Thank you for any help you could provide
Eric R. Lewis
ErixIS
2585 Bell Road
Montgomery, AL  36117
eric@xxxxxxxxxx
www.erixis.com