Network Management

Automatically redirect HTTP to HTTPS for the Orion Web Console

This article documents configuring HTTP to HTTPS redirection for the Orion Web Console using the Microsoft provided URL Rewrite module for IIS.

First published date

10/22/2018 9:14 PM

Last published date

7/9/2021 11:59 PM

Overview

This article describes how to setup an automatic HTTP to HTTPS redirection for the Orion Web Console using the Microsoft provided URL Rewrite module for IIS. 

This requires your Orion web site to be bound to the default HTTPS port (443). Using another HTTPS port requires reworking the redirection rule which falls outside the scope of this article.

You can configure automatic redirection for previous versions, but you must setup the HTTPS website binding manually.

Product section

Orion Platform

Resolution

This requires an extra HTTP binding for the Orion Web Console (steps 5-8).
When you run the Configuration Wizard, you must select the Skip website binding option to retain your redirection configuration.

  1. Log in to your SolarWinds Orion server as an administrator.
  2. Confirm that your Orion Web Console (SolarWinds NetPerfMon) has HTTPS binding configured to the default port (443).
    • For products running on Orion Platform 2017.1 or newer, you can configure this using the Configuration Wizard's Website Settings page.
    • For older products, use Enable SSL or https for the Orion Web Console  to manually configure SSL binding.
  3. Download and install the  URL Rewrite module from Microsoft. (https://www.iis.net/downloads/microsoft/url-rewrite)  (© 2019 Microsoft, available at  https://www.iis.net, obtained on March 9, 2019).
  4. Click Settings > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.
  5. Select your Orion Web Console site (SolarWinds NetPerfMon), and then click Bindings in the Actions pane.
  6. Click Add... in the Site Bindings window.
  7. In the Type field, select HTTP, confirm that the Port value is 80, and click OK.
  8. Click Close on the Site Bindings window.
  9. In the center pane, open SSL Settings in the IIS group.
  10. Confirm that the box for Require SSL is unchecked, and then click Apply in the Actions pane on the right.
  11. In the center pane, open URL Rewrite in the IIS group.
    1. Note:  Rewrite rules created on the website may be removed when the configuration wizard is run. To avoid this, go to the website root and open URL Rewrite there instead of opening it from the SolarWinds NetPerfMon website.
  12. Click Add Rules(s) in the Actions pane.
  13. Select Blank Rule within Inbound rules block, and enter the following parameters for the rule:
Name: HTTP to HTTPS redirection

Match URL:
Requested URL: Matches the Pattern
Using: Regular Expression
Pattern: (.*)
Ignore case checked

Conditions:
Add New Condition:
Condition Input: {HTTPS}
Check if input string: Matches the Pattern
Pattern: OFF
Ignore case checked

Action:
Action type: Redirect
Redirect URL: https://{HTTP_HOST}/{R:1}
Append query string checked
Redirect type: Found (302)



(Screenshots property of ©2018 Microsoft)
  1.  Apply this rule.
  2. Restart the Orion Web Console by clicking Restart in the Manage Website panel.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third-party content at your own risk, and you will be solely responsible for the incorporation of the same if any.