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
guillermo@xxxxxx.com
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
guillermo@xxxxxx.com
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
Recent comments
1 day 5 min ago
1 day 11 min ago
1 day 5 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 18 hours ago
2 days 52 min ago
2 days 4 hours ago
2 days 6 hours ago