I'm trying to setup a local working copy of my domain and I've modified the "domain" file within /etc/apache2/sites-available/
, executed "sudo a2ensite domain
" and then restarted apache and my browser is not looking locally for the domain. What step am I missing?
NameVirtualHost domain:80
<VirtualHost domain:80>
ServerName domain
DocumentRoot /var/www/domain.com/
</VirtualHost>
I should also point out that I am aware that the folder name has .com and the virtual host does not.
Update When I use *:80 instead of domain:80 I get the following error...
[Wed Mar 24 15:22:28 2010] [warn] NameVirtualHost *:80 has no VirtualHosts