Skip to content

Instantly share code, notes, and snippets.

@caefer
Created October 9, 2011 15:50
Show Gist options
  • Save caefer/1273820 to your computer and use it in GitHub Desktop.
Save caefer/1273820 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName YOUR_SERVER_DOMAIN
ProxyPreserveHost On
ProxyPass / http://YOUR_NEW_SERVERS_IP_ADDRESS/
ProxyPassReverse / http://YOUR_NEW_SERVERS_IP_ADDRESS/
# i.e.
# ServerName your-domain.com
# ProxyPreserveHost On
# ProxyPass / http://127.0.0.1/
# ProxyPassReverse / http://127.0.0.1/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment