Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

currently I have a site sits on one IIS7 server. When we deploy a new version of the site, we bring the site down and display an offline page. What I really want is have two same exact copies of the site sits in one IIS 7 server and load balance users among both sites. when we deploy a new version of the site, we will bring site1 down (users in site1 automatically routes to site2 on next postback), when site1 deployment is complete, bring site2 down (users in site2 being routes to site1 on next postback). is this even possible?

share|improve this question

migrated from Apr 24 '10 at 23:52

This question came from our site for professional and enthusiast programmers.

possible duplicate of Zero downtime uploads / Rollback in IIS – Jesper Mortensen Mar 31 '11 at 9:45

You can do this with DNS using round robin:

HOWTO - Configure Load Balancing

share|improve this answer

See my answer to this previous question:

The big question is how session handling is done within your application. If it is at all tied to the server instance (in memory, etc.), you will need to fix that before attempting a solution like this.

share|improve this answer

Your Answer


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