Hi everyone, im having troubles with the virtualhost, when i restart the apache i received: Stopping httpd: [ OK ] Starting httpd: [Wed Jan 10 18:08:03 2007] [warn] VirtualHost xxx.xxx.xxx.xxx:80 overlaps with VirtualHost xxxx.xxx.xxxx.xxx:80, the first has precedence, perhaps you need a NameVirtualHost directive [Wed Jan 10 18:08:03 2007] [warn] VirtualHost xxx.xxx.xx.xx.:80 overlaps with VirtualHost 209.85.106.202:80, the first has precedence, perhaps you need a NameVirtualHost directive [ OK ] The problem is when a try to enter via Web to any the virtualhost allways i see the the apache Delfault Page!! my /etc/httpd/conf/httpd.conf is: <VirtualHost xxx.xxx.xxx.xx:80> Servername example.maindomain.net DocumentRoot /var/www/html </VirtualHost> <VirtualHost xxx.xxx.xx.xx:80> ServerAlias www.xxxx.domain1.com ServerAdmin [email protected] DocumentRoot /home/user1/public_html ServerName xxxx.domain1.com ErrorLog /home/user1/logs/error_log </VirtualHost> <VirtualHost xxx.xxx.xxx.xxx.:80> ServerAlias www.xxxx.domain2.com ServerAdmin [email protected] DocumentRoot /home/user2/public_html ServerName xxxxx.domain2.com ErrorLog /home/user2/logs/error_log </VirtualHost> the xxx.xxx.xxx. is a static IP and this apache is running into a VPS with a CentOS template but i think this doesnt change anything... Well.. any suggestion will be very appreciatted!! and sorry for my english! cheers!!! gRaL
you rock Everything working great now!! This forum rock! well.. i really aprecciatte your help!!! Thanks again!
Hi everyone; I returned to have the same problem, in all my vhost i see the Apache Default page, the httpd.conf is equal the like the httpd.conf above., and with the NameVirtualHos defined , The only diference is the hostname DNSzone is hosted in other host than the other vhosts, but i thinks this is not the problem!. Any suggestion around ?? Regards! gRaL
Do you use one of the IP addresses in NameVirtualHost that you see in the output of Code: ifconfig ? Also, are the DNS records of your domains ok? You can check with Code: dig domain.com