How to URL or website redirect to another URL on IIS Server

Article Index

You can use IIS to perform any of the following browser redirection procedures:

  1. Redirect requests to another folder or Web site.

  2. Redirect requests to a file.

  3. Redirect requests to a network share.

  4. Redirect requests to a program.

Configure Redirection on IIS 7.0 (Windows Server 2008)

HTTP Redirection is not available on the default installation of IIS 7 and IIS 7.5.

HTTP Redirection installation on IIS 7 (Windows Server 2008 or 2008 R2)

  1. Open Server Manager which available on administrative tool (Start Menu\Administrative tools)

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

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

  4. On the Select Role Services page of the Add Role Services Wizard, expand Common Http Features, select HTTP Redirection, and then click NC:\Users\rakesh.k.FOMMYINDIA\Desktop\http-redirection2.jpg

  5. On the Confirm Installation Selections page, click Install.

  6. On the Results page, click Close.

HTTP Redirection installation on IIS 7.5 (Windows Vista and Windows 7)

  1. On the taskbar, click Start, and then click Control Panel.

  2. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.

  3. Expand Internet Information Services, then World Wide Web Services, then Common Http Features.

  4. Select HTTP Redirection, and then click OK.


Set Redirection for folder, and website on IIS 7.5

  1. Open Internet Information Services (IIS) Manager:  Administrative tools\ Internet Information Services (IIS) Manager or Run Type “inetmgr”

  2. In the Connections pane, expand the server name, expand Sites, and then navigate to the Web site or application

  3. In the Home pane, double-click HTTP Redirect.

  4. In the HTTP Redirect page, check the box to “redirect requests and enter the destination”


You can optionally specify any of the following options:

  1. Configure the redirection destination to be the exact destination as entered.

  2. Configure the redirection destination to be limited to the destination URL's root folder, not subfolders.

  3. Configure the HTTP status code, which can be one of these three options:

    1. 301 Permanent

    2. 302 Found

    3. 307 Temporary

Note: IIS 7 will respectively return the following actual HTTP response statuses for each of the above options:

  1. HTTP/1.1 301 Moved Permanently

  2. HTTP/1.1 302 Redirect

  3. HTTP/1.1 307 Redirect

  1. When you have finished all the above changes, click Apply in the Tasks pane.

Redirection on IIS 6.0 (Windows XP or Windows Server 2003)

Login Server with Administrator Account

  1. Open IIS Manager,

  2. Click start menu\All Programs\Administrative Tools\Inter Information Service (IIS) Manager -Or-

  3. Run \ Type – “inetmgr” (When you have installed IIS successfully

  4. Expend Server name and then Website folder

  5. Right click on website which you want to redirect and click properties

  1. Go to Home Directory Tab

  2. Here you can set your site directory and for redirection click “A redirection to a URL”

  3. Type the redirected URL (Uniform Resource Locator)

[Note: - How to Redirect a URL to application clicks here and see on Microsoft website]