Redirect HTTP to HTTPS

IIS / web.config

After setting up your self-signed SSL certificate, you'll want to make sure all users are redirected to the secure HTTPS version of your intranet. You can do this using IIS URL Rewrite rules.

Step-by-Step:

  1. Make sure the URL Rewrite Module is installed on your IIS server.
  2. Open or edit your site's web.config file.
  3. Inside the <system.webServer> section, add the following:
<rewrite>
  <rules>
    <rule name="Redirect to HTTPS" enabled="true" stopProcessing="true">
      <match url="(.*)" />
      <conditions>
        <add input="{HTTPS}" pattern="off" ignoreCase="true" />
      </conditions>
      <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
    </rule>
  </rules>
</rewrite>

Once saved, all HTTP requests will automatically redirect to HTTPS.

Related Pages

 
 
 
Related Pages
 
SharePoint AlternativeDynamic FormsBank Intranet SoftwareCredit Union Intranet SoftwareBank Help DeskCredit Union Help DeskU.S. Based Banking IntranetData-Secure Intranet for Banks & Credit Unions
 
✦ trusted in banking since 2004 ✦