Skip to content

Instantly share code, notes, and snippets.

@danlefebvre
Created April 3, 2012 17:45
Show Gist options
  • Save danlefebvre/2294057 to your computer and use it in GitHub Desktop.
Save danlefebvre/2294057 to your computer and use it in GitHub Desktop.
Adding virtual host (Mac OSX)
#/etc/hosts
127.0.0.1 my-site.dev
#/Applications/MAMP/conf/apache/httpd.conf
<VirtualHost *>
DocumentRoot "/Users/dannybot/sites/my-site"
ServerName my-site.dev
</VirtualHost>
#restart server dans MAMP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment