Monthly Archives: August 2011

VirtualHosts in Lion

If you have trouble configuring VirtualHosts in Mac OS X Lion then try this which worked for me :-

Edit /etc/apache2/httpd.conf and append this line at very end of the file

NameVirtualHost *:80

Once saved, restart apache and your already configured virtual hosts should work smooth.