Skip to content

Instantly share code, notes, and snippets.

@hotmeteor
Last active August 29, 2015 14:00
Show Gist options
  • Save hotmeteor/11407089 to your computer and use it in GitHub Desktop.
Save hotmeteor/11407089 to your computer and use it in GitHub Desktop.
Have VirtualHostX point domains to a local port
ProxyPass / http://localhost:9100/
ProxyPassReverse / http://localhost:9100/
@hotmeteor
Copy link
Author

  1. Setup your local domain as usual.
  2. If you're running the site via grunt or something, you'll be on a port like 9000. Adjust the settings to match your port.
  3. You can even share the site and the domain will "just work".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment