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 am trying to setup a Windows 8 box as a "reverse proxy" web server using IIS.

My goal is as simple as it gets. I do not need subdomains to go to different servers, but rather to redirect all port-443 (SSL) traffic to localhost:2080. Basic auth should be performed by IIS.

I had this config working fine with apache, but I need to migrate to IIS. I have been trying to get IIS to do that for a week now, without any success. I feel depressed and worthless.

Would a good soul out there be willing to explain me, in a few steps, how the above can be accomplished? Many many thanks in advance!

share|improve this question

You can do i with the modules URL Rewriting and Application Request Routing.

If you only have one backend server route traffic straight to it and just use URL rewriting to port redirect traffic locally.

edit: or use HTTP redirection which might be the best alternative.

share|improve this answer
+1. Perfect. Works like a charm. – TomTom Dec 24 '12 at 16:28

ISA/TMG is a good option on Windows, Squid and Varnish are also available - easier to do.

share|improve this answer
thank you, but could you elaborate on why you advise to stay away from IIS? – aag Dec 24 '12 at 10:56
-1. I downvote for ONE reason: TMG is end of life. It does not even work on a CURRENT server (2012). No more updates coming. Same here - stuck in it, working on replacing it. Sorry, this is a dead end. – TomTom Dec 24 '12 at 16:27
aag, IIS is web server, of course, you can use it as reverse proxy like apache+mod_proxy, but Microsoft has another product for that and it's functionality is reverse proxy. If you are migrating from Linux - you should be familiar with squid or varnish already, so, for you it could be easier to do this way - much better than nothing. For IIS you need to write something, for other products (incl. TMG/UAG) - no. TomTom, really? I mean, REALLY? TMG mainstream support will cease after 14 April 2015 and extended support will end on 14 April 2020. Forefront Unified Access Gateway is also available. – GioMac Dec 24 '12 at 23:04

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.