Skip to content

Instantly share code, notes, and snippets.

@jackvial
Created February 19, 2015 18:11
Show Gist options
  • Save jackvial/2d50afc37949e0b5e970 to your computer and use it in GitHub Desktop.
Save jackvial/2d50afc37949e0b5e970 to your computer and use it in GitHub Desktop.
Ubuntu Apache2 V-hosts Configuration

How to configure an Apache2 virtual host on Ubuntu 14.10

  1. Create a new v-host directive /etc/apache2/sites-available
  2. Add the site to /etc/hosts
  3. Enable the site with sudo a2ensite mysite.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment