Setting up local virtual host
- by Webnet
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>