Is it possible when deploying apps using the IIS web farm framework to limit the number of servers the site is deployed on? The use case I am specific looking at is with a multi-tenant load balanced server where specific sites need to be deployed as either not load-balanced, load balanaced on 2 IIS machines, or load balanced on 4 IIS machines. Currently I can't see anyway of customising the replication or by setting parameters when creating the site. Ideally if this is possible, I'd also like to do so via code or PS.


I am not aware of this functionality. However, you can configure all sites on all IIS machines and then use host name affinity to configure how many servers serve each hostname. See iis.net for the complete walkthrough of this feature of ARR.

  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – slm Sep 4 '13 at 3:03
  • @slm thanks for the feedback. I have fixed the link (posted the wrong one before) and added a little clarification. – pkeenan Sep 4 '13 at 18:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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