[warn] _default_ VirtualHost overlap on port 80

November 26, 2008 – 09:11 by Tom Van den Berg

While creating websites on Linux / apache you can get following messages after restarting httpd:

Starting httpd: [Wed Nov 26 09:02:33 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Wed Nov 26 09:02:33 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence

When you are creating several virtual hosts in apache you need to change following setting in /etc/httpd/conf/httpd.conf (uncomment it):

NameVirtualHost *:80

Restart httpd and the error will be gone.

Post a Comment