This article points to resources showing how to redirect HTTP to HTTPS on Microsoft IIS 7 and 7.5. We are often asked how to redirect non-secure HTTP requests to secure requests on HTTPS using SSL. You can redirect HTTP requests to secure HTTPS request over SSL using the URL Rewrite module in IIS 7 and 7.5. At the heart of the matter, the URL Rewrite module allows users to be elegantly redirected from a URL like http://somedomain/ to https://somedomain/.
The following articles include great information to configure the URL Rewrite module for redirecting HTTP to HTTPS. You have both GUI and configuration file options to set this up depending on your preference. This article probably has the best synopsis for both approaches and make sure you take a look at 10 great URL Rewriting tips for other great uses of the URL Rewrite module.
- Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0: http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/
- 10 URL Rewriting Tips and Tricks: http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/
- IIS URL Rewrite 2.0:
- IIS7 Redirect HTTP to HTTPS: http://www.sslshopper.com/iis7-redirect-http-to-https.html
- Redirect HTTP to HTTPS with IIS 7: http://www.iis-aid.com/articles/how_to_guides/redirect_http_to_https_iis_7