Monday, August 26, 2013

Apache Virtual Hosts Overlap on Port

I was getting this odd error.

Starting httpd: [Mon Aug 26 14:44:22 2013] [warn] _default_ VirtualHost overlap on port 8080, the first has precedence

Then I noticed I didn't specify the Name Virtual Host.  I added the following to my httpd-vhosts.conf file.

NameVirtualHost *:8080

Restart apache, problem solved.

OS: RHEL 6.4