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

Tuesday, 16th February 2010

Reading Time: < 1 minute
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.

Share this on:

More helpful Articles

Download PDFDownload PDF

Tags: , , , ,

Leave a Reply

CommentLuv badge