Redirect HTTP to HTTPS over IIS

In this tutorial, we’ll see how to automatically redirect http requests to https under IIS.

Prerequisites :

  • Valid configuration of your site with SSL.
  • Have the Rewrite module installed under IIS.

The Rewrite module is available with Web App

Redirect HTTP to HTTPS

1. Open the IIS console, go to site 1 where the redirection must be set up and click on URL Rewrite 2 .
Console IIS

2. Click Add Rules 1 .
Nouvelle regle

3. Select Rule blank 1 and click OK 2 .
Type de regle

4. Content of the rule:

1 Name the rule.
2 Requested URL: Corresponds to the template.
3 Using: Generic characters.
4 Model: *.
5 Conditions: Add two conditions {HTTPS} = off / {HTTP_HOST} = url_of_site
6 Type of action: Redirect.
7 Enter the url with https.
8 Click on Apply.

Règle HTTP vers HTTPS sur IIS

5.The rule is added 1 .
Regle ajoutee



Related Posts


GLPI on IIS: configuration and installation

Table Of ContentsPrerequisitesPreparing the environment for GLPI for IISAfter installationRename / Delete the install folderSend email In this tutorial, I will explain how to prepare the Windows envir

IIS ARR: Installation and Configuration

IIS ARR Presentation ARR is an add-in (plugin) that installs on IIS and allows to transform the Windows Web server into a Reverse Proxy. ARR is a free add-on that installs on an IIS service and allows

GLPI: SSO with IIS – Single sign-on

In this article, I will explain how to implement SSO (Single Sign-On: Single Authentication) with GLPI installed with IIS. SSO saves the user from having to enter identifiers to connect to GLPI. Prere

Scroll to Top