Iis – IS be configure to forward request to another web server

iisreverse-proxy

I have several web site set up on one IIS 6 server distinguished by Host Header.

However, I wish to have one of the sites served by a Linux / Apache server on my network. Do I need to use a reverse proxy add-in for IIS, or is there a simple way to tell IIS to pass on all requests to another server?

Best Answer

For IIS 7.5, Microsoft provides official modules for this!

In the site settings, you'll get an "URL Rewrite" icon.

  • Open it
  • right click on the "inbound rules list"
  • Select "Add Rule(s)"
  • Choose "Reverse proxy"

In this dialog you can enter the hostname + port to forward to. After adding the rule, opening the edit dialog offers more customizations.