Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a windows 2008 server at home (on a vmware server) along with other virtual machines, I want to open port 80 in my firewall, but I want to redirect the request to the correct vm. for example if the request is http://myserver/SVN I want it to go to my svn vm, if it's for http://myserver/Blog I want to go to another vm. what's the best approach?

And How hard is it to have https redirects as well?

share|improve this question
up vote 3 down vote accepted

You could use a reverse proxy. If you're using apache, this is what a basic reverse proxy setup would look like for http://myservers. This let you map directories to backend or even remote servers.

ProxyRequests Off

<Proxy *>  
Order deny,allow  
Allow from all  

ProxyPass /svn http://svnvm
ProxyPassReverse /svn http://svnvm

ProxyPass /blog http://blogvm
ProxyPassReverse /blog http://blogvm

Edit: fixed formatting

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.