Skip to content

Instantly share code, notes, and snippets.

@ps
Created November 26, 2013 19:46
Show Gist options
  • Save ps/7664902 to your computer and use it in GitHub Desktop.
Save ps/7664902 to your computer and use it in GitHub Desktop.
Changing where localhost points to in Ubuntu 12.10
-Navigate to /etc/apache2/sites-enabled
-sudo vim into the default file (000-default)
-Change DocumentRoot and second <Directory> path to the path where you want localhost to point to
-sudo service apache2 restart
-DONE!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment