Skip to content

Instantly share code, notes, and snippets.

@nobitagit
Created June 8, 2015 09:03
Show Gist options
  • Save nobitagit/83bb45ae30ea4680205f to your computer and use it in GitHub Desktop.
Save nobitagit/83bb45ae30ea4680205f to your computer and use it in GitHub Desktop.
sudo vim /etc/hosts
# redirect to local
127.0.0.1 local.yoursite.com
# start a server and then
# visit: local.yoursite.com:8080
# and see your local file being served
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment