IIS7 How to implement access HTTP jump to HTTPS access

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.