Skip to content

Obviate.io

To anticipate and prevent

Annoyance of ‘NameVirtualHost *:80 has no VirtualHosts’

Posted on 2010-03-12 By Jon No Comments on Annoyance of ‘NameVirtualHost *:80 has no VirtualHosts’

For some reason, in Ubuntu, the Apache default configs seem to include a plethora of calls for ‘NameVirtualHost :80′. It seems that the very second you install Apache, it starts complaining about _’NameVirtualHost :80 has no VirtualHosts’_. While this is just a warning and can be safely ignored, it is a brand new box and you probably want it to run nicely. I know I do. So I started hunting. I removed all calls for “NameVirtualHost *:80” in ./apache2/sites-enabled/ and that didn’t seem to help, there were still warnings about it. Turns out there is one extra call tucked away.

Go into /etc/apache2/ports.conf, find and comment out: “NameVirtualHost *:80”

Piece of cake, if you know where to look. Really Apache should give file names with your warnings, but that would make it user friendly. We can’t have just any old peon being able to work Apache, that might run some Linux geeks like me out of a job.

Linux

Post navigation

Previous Post: I hate modern TV schedules
Next Post: Beware the Ides (time change) of March!

Related Posts

UnixShell is nifty Linux
RAID’s and goodies Linux
Well, thats amazing Linux
Random Fun Linux
Nikon D70 Firmware V2.0 Linux
God Damn Stupid Email Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2026 Obviate.io.

Powered by PressBook Masonry Dark