Forgive me because I am not very familiar with URLRewrite but I am hoping it will solve my issue.
I have Server Specific bindings in my IIS shared applicationHost.config, with appropriate internal DNS entries, so I can test how a site is performing on any given server.
For example:
server1.int.website1.com = website1 on server1
server1.int.website2.com = website2 on server1
server2.int.website1.com = website1 on server2
The only problem is that this doesn't scale well and any new servers added to the web farm also need to be added to the shared applicationHost.config. To make things a little more complicated, the servers in my web farm are hosting multiple sites on a single IP so a * binding won't work for me. I was hoping to use URL Rewrite to "rewrite" incoming server1.int.website1.com requests to website1.com so that I no longer need the server specific bindings in the applicationHost.config. From what I understand the "rewrite" action will keep the request on the original server and I would just let internal DNS direct where the server1.int.website.com binding would resolve to.
If URL Rewrite is not a valid solution to this issue. Does any one have any recomended solutions?