Enabling HTTP Strict Transport Security (HSTS)
In newer versions of Internet Information Services (IIS) Manager, administrator can enforce HTTPS to be used and redirect all HTTP requests to HTTPS.
Prerequisites
-
Internet Information Services Manager 10.0 version 1709 or newer.
Note: Enabling HSTS is site-specific.
Do the following:
-
In IIS Manager, in the Connections pane, under Sites, select the site which settings to modify.
-
In Actions pane, under Configure, select HSTS. Edit Website HSTS dialog opens.
-
Select Enable.
-
Enable Redirect Http to Https.
-
Select OK to confirm the changes.