Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I look for a solution to forward http/https traffic to a backend webserver based on the request url. Our current setup:

  • Webserver1 (Sharepoint)
  • Webserver2 (Reporting Services)

Both run Windows Server 2008 and IIS7. The Webserver1 receives all traffic on port 80 and 443 and hosts a website called

Now I want the Webserver2 to be accessible as Unfortunately we do not have any advanced edge firewall that could route traffic based on the request url. So I wonder if there is a way to configure Webserver1 to forward all traffic if it matches Any way IIS7 could do this?

Suggestions are welcome..

share|improve this question
up vote 3 down vote accepted

IIS7 has a URL rewrite module, which, along with the Application Request Routing module, based on the URL, can be used to do what you want.

You build it all up in the UI, and it then automatically build the XML and puts it in the web.config for you.

See "Reverse proxy" (number 7) on this list.

share|improve this answer
Thanks for the suggestion. But it seems ARR fails as soon as I use NTLM authentication over HTTP :( – driAn Jun 18 '09 at 20:27
"[U]nless you need to do authorization on the router machine, you should turn off windows auth on it and only enable anonymous auth - this will make ARR just pass the challenges/credentials along to the backend machine." - You could do it just for the one virtual directory. – crb Jun 18 '09 at 20:31

You might be able to do a URL redirection to a different port number.

So set up as a virtual directory on web server 1, but have it url redirect to It's possible you might need to change the domain name that it redirects to.

I'll be interested to see how it works and if I missed any steps.

share|improve this answer

I think your problem is similar to the one I had:

I ended up paying for the "ISAPI_Rewrite" filter, witch I'm sure can do what you want.

The only issue is that you have to do a little RegEx magic, witch I find a bit difficult.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.