Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to Enable HTTP redirection in IIS Servers  (Read 4551 times)

0 Members and 1 Guest are viewing this topic.

kirann

  • Guest
How to Enable HTTP redirection in IIS Servers
« on: July 29, 2017, 04:37:37 pm »
How to Enable HTTP redirection in IIS Servers
============================================

Configuration HTTP redirection in IIS servers involves two steps:

1) Enable HTTP Redirection

2) Setup redirect  for the domain or URL

(a) Enable HTTP Redirection
====================
HTTP Redirection is not available on the default installation of IIS 7 and later. To install it, use the following steps:

Step 1:

Click start , then Administrative Tools, then Server Manager.

Step 2:

In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).

Step 3:

In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services.

Step 4:

On the Select Role Services page of the Add Role Services Wizard, expand Common HTTP Features, select HTTP Redirection, and then click Next.

Step 5:

On the Confirm Installation Selections page, click Install.

Step 6:

On the Results page, click Close.
Now it shows HTTP Redirection as installed.

**********************

(b) Setup URL Redirect for the domain
======================

Step 1:

Click Start >> Administrative Tools >> Internet Information Services (IIS).

Step 2:

Select the server under Connections tab in IIS. Expand Sites under the server name >> select the required website.

Step 3:

Now select HTTP Redirect option from the center menu

Step 4:

Specify the redirect URL in the format https://domain.com format.

Now click Apply at the top most right end of the window. Now your site http://domain.com will be redirected to https://domain.com 🙂