How to redirect HTTP requests to HTTPS using IIS

Created:

2016-11-16 12:48:10 UTC

Modified:

2017-08-18 07:36:31 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How to redirect HTTP requests to HTTPS using IIS

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Question

How to redirect HTTP requests to HTTPS in IIS?

Answer

To configure automatic redirection from HTTP to HTTPS, follow these steps:

  1. Start IIS 7 Manager.
  2. In Sites , click on the desired web site, and then make sure that you are in Features View .
  3. Double-click HTTP Redirect . Or, right-click HTTP Redirect , and then click Open Feature .
  4. Click to select the Redirect requests to this destination check box, and then enter the absolute URL, i.e. https://example.com , replace example.com with the name of the web site.
  5. In the Redirect Behavior section, click to select the Only redirect requests to content in this directory (not subdirectories) check box.
  6. In the Status code list, select Found (302) .
  7. Click Apply to save the settings.

Also, refer to the Microsoft KB article: http://support.microsoft.com/kb/975341

Have more questions? Submit a request
Please sign in to leave a comment.