Setting up local virtual host
Posted
by Webnet
on Server Fault
See other posts from Server Fault
or by Webnet
Published on 2010-03-24T18:10:44Z
Indexed on
2010/03/24
18:13 UTC
Read the original article
Hit count: 253
apache
|virtualhosts
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>
© Server Fault or respective owner