3
votes

How do I set up IIS 7 so that http://sitea points to 12.345.67.89:8010 and http://siteb points to 12.345.67.89:8020 (i.e. two sites on the same box with different ports)? The DNS guys tell me that sitea and siteb must both point to 12.345.67.89 and cannot specify port and that I should be able to manage that on the server. Can this be done without AAR?

1

1 Answers

2
votes

In IIS, open the Features tab for sitea. In the Action pane on the right, select Bindings... Add a binding for IP: 12.345.67.89, Port: 80, Host name: sitea. This way, traffic coming in on port 80 (the default port) with a host name of sitea will be redirected to port 8010 (the port for sitea). Repeat for siteb using port 8020 instead.