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 two (physical) web servers behind our SOHO router/modem. I know all about port forwarding and have done it many times.

Is it possible to have both webservers handle public requests from people via port forwarding? Of course, this is for incoming port 80/443. Not custom ports and no .. please don't suggest I use custom ports.

I know that i cannot have 2x port-forwarding rules for the same incoming ports. (that just makes no sense).

Currently, my port forwarding options are very simple -> incoming port (or range) <-> destination port.

First of all, I cannot move any of the sites from machine #2 to machine #1. But I was wondering if I could add FAKE sites to machine #1 .. which bounce the request to machine #2 ... and then the response goes out to the web?

FWIW -> the web servers are IIS7 on W2Kr2. SOHO modem/router is a FRITZ! box.

Cheers :)

share|improve this question
up vote 1 down vote accepted

Using IIS on #1 as a reverse proxy should take care of your needs, if the namespaces are disjoint. See this StackOverflow post for some ways to implement a reverse proxy on IIS. It is possible you will need to do some rewriting as well, again depending on how your namespaces look.

share|improve this answer
That looks about right :) awesomesauce. – Pure.Krome Apr 17 '11 at 6:59
A problem with this is that if server #1 is down both servers are down. How about using a router/firewall with the ability to do reverse proxying, such as PfSense with Proxy/mod_security? – Keith Stokes Apr 17 '11 at 16:23
If we're allowing for changes in architecture and aiming for less downtime, then moving to a colocation facility is likely going to be a bigger win than adding a more functional firewall. Hard to say what the right call is without knowing budget or uptime requirements. – justarobert Apr 17 '11 at 18:40

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.