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

Article Index

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.
    C:\Users\rakesh.k.FOMMYINDIA\Desktop\http-redirection3.jpg

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

C:\Users\rakesh.k.FOMMYINDIA\Desktop\http-redirection4.jpg

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.