Friday, December 5, 2014

reverse proxy - IIS server farm with multiple websites

I'm trying to set up an iis server farm with multiple websites.

I have a ControlServer that should redirect requests and manage load balancing for two similar iis web servers. These web servers contain different websites and subdomains.



Web server:




  • WebServer01 (10.10.0.1) IIS

  • WebServer02 (10.10.0.2) IIS

  • ControlServer (10.10.0.3) IIS with ARR




Websites/Domains:




  • website.domain.com

  • webservice.domain.com

  • mail.domain.com



After installing "Application Request Routing" on ControlServer, I added both web servers to a server farm, changed the load balance rule to "weighted round robin" and opened "Default Website" of ControlServer.




The result was working as expected: The browser requests switch between "Default Website" of WebServer01 and WebServer02.



Now I want to reach all websites on web servers using load balancing. Not just "Default Website". I added domain bindings and I tried to create different url rewrite rules on ControlServer and web servers, but they didn't work.



Does anyone know a working solution for my problem?



Thanks!

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...