I posted this in a different forum and got nothing, so I'm a bit desperate.
Here is my scenario:
IIS running sites on 80 and 443 - external.foo.com and https://external.foo.com
On the same node, a separate web service is running an app (ASP) on port 801 - "web app3" .
I need all traffic coming to http(s)://external.foo.com/app3 to be routed to the local port 801 with SSL offloading - so the connection from the client to IIS is SSL, but IIS's connection to the local service is http over port 801.
I have ARR configured with a Proxy setup on localhost:801 which created a default rewrite rule. I have all the IIS sites and requests to external.foo.com/app3 being redirected to app3 now via HTTPS and it appears offloading is working fine using ARR default rule. The Global rule is below.
<proxy enabled="true" />
<rewrite>
<globalRules>
<clear />
<rule name="ARR_App3Proxy_loadbalance" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<action type="Rewrite" url="http://App3Proxy/{R:0}" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
</conditions>
</rule>
</globalRules>
</rewrite>
Now I just need to target external.foo.com/app3 specifically so my other IIS sites will be excluded from this... If I leave the rule alone, it redirects every site request to app 3 over https w/ offloading just fine, but as soon as I try to set any url matching or condition, the IIS sites revert back to their default, but I cannot get app3 to load by opening http(s)://external.foo.com/app3.
I honestly think there are 2 things wrong, I am not targeting external.foo.com/app3 properly and that port 80 or 443 is also being implied for some reason when I edit the default rule. I have tried a 100 times to make this work, but I'm running out of steam.
Any advice or assistance will be greatly appreciated!
http://www.example.com:8080
would happily connect to a configured web server on that port. The danger with low port numbers is port clash.