Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

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!

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.

March 2010
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Feb   Apr »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme