Skip to content

Instantly share code, notes, and snippets.

@robsenshuu
Created October 18, 2017 22:06
Show Gist options
  • Save robsenshuu/7ef1a04442fa3a16c42059aac3bee7e3 to your computer and use it in GitHub Desktop.
Save robsenshuu/7ef1a04442fa3a16c42059aac3bee7e3 to your computer and use it in GitHub Desktop.
# Go to C:\xampp\apache\conf\extra open http-vhost.conf file and add:
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\envioclickpro\public"
ServerName name-of-your-host.dev
ServerAlias http://name-of-your-host.dev
</VirtualHost>
# Go to C:\Windows\System32\drivers\etc open host file and add:
127.0.0.1 localhost name-of-your-host.dev
::1 localhost name-of-your-host.dev
# You will need to give full permission to host file.
# restart apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment