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've seen various Apache versions of this question but no IIS one, so I'll ask it:

I have 2 IIS7 servers, and 2 domain names (e.g. and, and 1 IP address.

I want each domain name to go to a different IIS server, and the IIS servers are serving completely different content.

Can IIS handle this, or do I need an additional proxy?

share|improve this question
up vote 2 down vote accepted

What you want to do is fairly common and is called "reverse proxy". There are a number of similar questions on ServerFault and StackOverflow with several different solutions.

IIS7 can do reverse proxy with a couple of modules installed .. here is a tutorial.

My recommendation is to use nginx (spoken "Engine X") on a third system and have that system host the single IP address. I like the idea of sp[litting this from the web servers, just for the sake of clarity.

Finally, as of the beginning of this year the StackOverflow family server/hosting configuration used an HAProxy frontend. I can't speak with certainty if it still does given the "StackExchange" explosion.

share|improve this answer

Depends. Same content on both sides?

IIS can not handle it, but Windows Server has a NLB (Network Load Balancing) component that can. Assign the IP for the NLB cluster, then route the requests to both computers.

share|improve this answer
Different content. I've edited my question to make this clearer. – codeulike Oct 4 '10 at 13:22
Out of luck then. – TomTom Oct 4 '10 at 13:47

Yeah this is a tuff situation, what you can do is send all traffic to one server and then redirect to another using your internal network and ip's, kind of like a proxy. You could run this right off of the header information.

share|improve this answer

My understanding is you will need a proxy to divert the traffic to the right internal server, something like an Apache server with proxypass directives or a Squid box will do it. You could hit real issues if you want SSL though.

ISA might be able to do this however if you can run that on one of the machines. Then have IIS running on the ISA box on a different internal IP and set up ISA reverse proxy rules.

share|improve this answer
What does ISA stand for? – codeulike Oct 4 '10 at 15:04
It's Microsoft's proxy and security server solution;; apologies it appears to have been renamed… – Antitribu Oct 4 '10 at 15:12

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.