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 instances of a web app (using play framework) running on the same machine under two different ports.
I am trying to work out if it is possible to set IIS to act as a reverse proxy and balance the request between the two apps.
So far I have only managed to rewrite to one application. I can't figure out how to do the load balancing between the two apps. I have tried to add a server farm but this only lets me define web apps on different servers.

Ps: the only reason to have to apps on the same machine is to allow transparent upgrades.


share|improve this question
I believe you can add the NLB role to the server and accomplish this. – Chris S Dec 12 '11 at 15:25
It doesn't seem to let me add two clusters with the same ip address. – emt14 Dec 12 '11 at 15:47
You would have to add at least one IP for each of the LB sites, a NLB vIP, and a management IP (off the top of my head, could be slightly wrong). – Chris S Dec 12 '11 at 15:58
I think this is the main issue since I only have one server. I know that apache enables load balancing to the same ip address but on different ports. – emt14 Dec 12 '11 at 16:18
That is true. But you didn't ask about Apache, you asked about IIS. It's possible to have multiple IPs on the same server you know. – Chris S Dec 12 '11 at 16:20
up vote 1 down vote accepted

Network Load Balancing (NLB) will allow you to load balance, so will Application Request Routing (ARR).

Both, however, are setup to route between two different servers, setting this up on 1 machine would not be possible.

NLB operates lower in the stack, and can load balance more than just IIS, whereas ARR is built into IIS and relies on URLRewrite to process requests.

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.