Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0
Requirements
- SSL Certificate for site installed in IIS.
- Site properly installed and configured for SSL (site set up and binding in IIS configured).
- URL Rewrite 2.0 is installed on the sever.
download url: http://www.iis.net/download/URLRewrite
This is a plug-in for IIS 7 that allows you to manipulate URL’s.
URL Rewrite has a GUI to allow you to enter rules within IIS 7; in the background all this does is edit the web.config file of the site. I will show you how to create a rule both ways.
- Select the website you wish to configure
- In the “Features View” panel, double click URL Rewrite