If you followed my previous post how to setup ARR Routing to set up a reverse Proxy top access TeamCity over IIS 7.5 it will work perfectly and you will be able to access TeamCity on a different port. However…. if you create a website under IIS on the same server you wont be able to access it because the reverse proxy is forwarding every site to TeamCity! This might work for you but its not ideal if you want to run other IIS sites on the same server, the following steps will take you through setting up a condition so only url you specify will take you to TeamCity.
- Open up the Server Farm you just Created, and double click on Routing Rules
- Click on Url Rewrite
- Select the first Inbound Route and Press Edit
- Press the Add.. Button in the conditions pane
- Type {HTTP_HOST} into the condition input
- Ender the domain you want to want to forward into the pattern, all other domains will be passed to IIS normally
- Press Ok
- Press Apply and your done



