Redirect HTTP to https

Source: Internet
Author: User

1. First, create a new site under your website with a random name. In the properties, the TCP port is assigned to 80, and SSL is not assigned.

Then configure it in the main directory of Properties

Redirect the content of this resource from: To URL

Then redirect to enter: https: // your main website Domain Name

Save and exit

2. Change the attributes of your website

 

 

Configure the TCP port: as long as there is no conflict, do not set it to 80! Set SSL port to 443

 

Then, select require secure channel SSL in the Directory Security bottom security communication Edit!

 

Save. This setting disables the TCP port of the website and forces all client connections to force HTTPS access.

 

 

 

 

In this way, the HTTP jump to HTTPS is complete!

 

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.