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!
You can do i with the modules URL Rewriting and Application Request Routing.
http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-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.
http://technet.microsoft.com/en-us/library/cc732930(v=ws.10).aspx
http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/
ISA/TMG is a good option on Windows, Squid and Varnish are also available - easier to do.