Location, Location, Location: Tips for Storing Web Site Files
Subject:   Don't forget to NameVirtualHost
Date:   2003-05-17 13:38:02
From:   coyote4til7
Apache likes to be not just told how to handle, but asked to handle it. If you don't ask it to handle it before telling it how, it'll complain on restart and might even mis-handle some sites.

First, scroll just above the VirtualHost directives and add a NameVirtualHost directive:


Then restart Apache: sudo apachectl restart

You can also restart apache via System Preferences, but by doing it at the command line, you'll get to immeadiately see any errors that stopped Apache from starting.