Reverse proxy

sharon mutzafi 26 Reputation points
2021-08-09T16:59:23.51+00:00

Hi, i have a question. Hi all, I want to setup something rather simple.

I have an IIS webserver running on location A, HTTPS on port 8443. I want users with tablets from the outside to access this webserver from site B only (so that location A will not be exposed directly to the internet, only to the WAN IP of site B. the server on site B needs to act as a reverse proxy for site A.

On location B i have a windows server with IIS installed. How do I set it up?

Windows development | Internet Information Services
{count} votes

3 answers

Sort by: Most helpful
  1. sharon mutzafi 26 Reputation points
    2021-08-09T17:10:28.87+00:00

    Hi, thank you for answering, are all the steps mentioned there relevant to my task? Including all the ASP.NET markups?

    0 comments No comments

  2. Bruce Zhang-MSFT 3,771 Reputation points
    2021-08-10T03:03:34.327+00:00

    Hi @sharon mutzafi ,

    What you need to set is site B on location B. Install Application Request Routing Cache and check enable proxy in Server proxy setting.
    121824-2021-08-10-105204.jpg
    121780-2021-08-10-105246.jpg
    Then create the rewrite rule in URL rewrite module of site B. When you click Add Rules... you can choose reverse proxy. It is more convenient. Then enter the url of site A.

    If any issue happened, you can use failed request tracing to trouble shoot it.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    0 comments No comments

  3. sharon mutzafi 26 Reputation points
    2021-08-10T20:22:34.813+00:00

    I have done that, and solved an error by visiting this link:

    https://techcommunity.microsoft.com/t5/iis-support-blog/iis-acting-as-reverse-proxy-where-the-problems-start/ba-p/846259

    If I open a browser and going to the URL, it's showing me the login screen of the backend server (site A). But how do I know that the proxy server is actually working - meaning, How do I know that all traffic is routed back and forth through it?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.