Hi all:

My linux box has hostname set to: server.its.com and www.its.com is an alias
(CNAME) for it. I could enter this URL:

http://www.its.com/
or
http://server.its.com/

and see the Apache's test page.

I added a [name-based] virtual host as follows:

NameVirtualHost 192.168.1.100
<VirtualHost 192.168.1.100>
    ServerName www.caltex.com
    DocumentRoot /home/www/caltex
</VirtualHost>

Now, when I enter this URL:

http://www.its.com
or
http://www.caltex.com

The index.html file in the DocumentRoot for www.caltex.com (in
/home/www/caltex/) is always the one that gets displayed on the browser. The
URL http://www.its.com/  does not get the Apache's test page anymore.

What could be the cause of this?

Note: I also added the DNS zone for caltex.com.kh and set the www.caltex.com
as CNAME to server.its.com, as required for the virutal hosting.

Any ideas would be very much appreciated.

Regards,
Vidol






_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to