I have an application that I have to do some integration with that is using the Jetty web server. The company that makes the application gave me instructions on how I could use IIS to act as a reverse proxy and forward all traffic to the jetty server using Application Request Routing. The instructions were:
1) Create a Server Farm in IIS
2) Create a URL Rewrite rule to direct all traffic to the server farm.
Looking at the URL Rewrite rule, it is using a wildcard match (*) to route all traffic to the server farm that was set up. This is problematic for me because now every website that was on this server is trying to redirect traffic to the jetty server.
Is there a way where I can only have traffic for a single IIS site redirect traffic to the server farm?
Here are the specifics:
Jetty Web Server is hosting its site at:
http://mymachinename:7777/foo
I have an IIS site that is running at: (I don't want traffic from here to go to Jetty)
http://mymachinename:50295
If I get a request at this URL, I want to redirect it to jetty:
http://mymachinename:8888/*