I'm working through trying to configure IIS to act as a reverse proxy another server internally. I want to map the applications that are running on different ports to subdomains. I see many posts about reverse proxy and subdomains but the ports are throwing me. Here's what I'm going for :
IIS is running on Win 8.1 and serves pages at let's say server1.domain.com
I've got additional bindings on my server for each subdomain name as shown below.
app1.domain.com -------------> server2.local:7070
app2.domain.com --------------> server2.local:8080
app3.domain.com --------------> server2.local:9090
app1, app2, app3 are also set up as CNAMES in DNS pointing back to server1.domain.com
I know this is probably basic stuff but I haven't messed with IIS in years. I need some help with the rewrite rules. I do have ARR with proxy enabled already. I did rewrite rule from http to https and that works.... I'm just having some problems with this setup. Thanks for any advise you have.