Skip to content

Instantly share code, notes, and snippets.

@mort3za
Created September 27, 2016 10:48
Show Gist options
  • Save mort3za/ab7be2b856f730f77c5e0b4fe52a09f9 to your computer and use it in GitHub Desktop.
Save mort3za/ab7be2b856f730f77c5e0b4fe52a09f9 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
DocumentRoot /opt/lampp/htdocs/path/to/project/folder
ServerName mynewhost.com
ServerAlias *.mynewhost.com
</VirtualHost>
# Also add: 127.0.0.1 mynewhost.com to hosts file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment