Usually we are using the HTTP path, the use of HTTPS is very small, but with the popularization of https more and more domain name access needs to use HTTPS, this we will show how to set up in our site for an HTTP access to automatically jump to HTTPS.
Tools and software to use:
System: WINDOWS2008R2
Software: Iis7.0,iis Microsoft URL Rewrite module 2.0
Operation Steps:
1. We need to download and install the Microsoft URL Rewrite module in IIS 2.0
: http://www.microsoft.com/zh-cn/download/details.aspx?id=7435
After downloading the installation we restart IIS, and then open it will find that in the feature view, there is a more URL rewrite features
2. Domain binding to the site
We need to bind HTTPS and HTTP on the desired site
3. Process SSL Settings
Uncheck the option before asking for SSL
4. Create a new rule in the URL
Create a new blank rule to redirect HTTP access to HTTPS
A name such as HTTP to HTTPS redirect
Mode: (. *)
Add condition: {HTTPS} mode: Off or ^off$
In the action settings, select Redirect: Https://{http_host}/{r:1}
Redirection type: Found (302) or see other (303)
Select an application to do so
5. Testing
IIS7 How to implement access HTTP jump to HTTPS access