« July 2012 | Main | September 2012 »

August 08, 2012

Apache - multiple virtual hosts on *80

When you have multiple virtual hosts on port *80, you need to specific a virtual host name, for example, at the very top of your virtual host configuration file, add an entry that states:
NameVirtualHost *:80

Otherwise, you'll receive the following warning:
"[warn] _default_ VirtualHost overlap on port 80, the first has precedence"

Posted by cdgrieb at 09:59 AM | Comments (0)