Posts Tagged ‘namevirtualhost’

Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error on Start

Tuesday, February 16th, 2010

This is annoying error which occurs when you try to start, restart or
check apache configuration.
This error is caused by duplicate NameVirtualHost entries. In my case in Debian.
I had to comment it in /etc/apache2/ports.conf . Apparently,

NameVirtualHost *:80

was mentioned twice in my overall Apache configuration files.
I should note that this is just a warning so Apache will be working just fine, even when the error appears on Apache start-up.