How to URL or website redirect to another URL on IIS Server
- Last Updated: Thursday, 08 January 2015 23:19
- Hits: 8779
Set Redirection for folder, and website on IIS 7.5
Open Internet Information Services (IIS) Manager: Administrative tools\ Internet Information Services (IIS) Manager or Run Type “inetmgr”
In the Connections pane, expand the server name, expand Sites, and then navigate to the Web site or application
In the Home pane, double-click HTTP Redirect.
In the HTTP Redirect page, check the box to “redirect requests and enter the destination”
You can optionally specify any of the following options:
Configure the redirection destination to be the exact destination as entered.
Configure the redirection destination to be limited to the destination URL's root folder, not subfolders.
Configure the HTTP status code, which can be one of these three options:
Note: IIS 7 will respectively return the following actual HTTP response statuses for each of the above options:
HTTP/1.1 301 Moved Permanently
HTTP/1.1 302 Redirect
HTTP/1.1 307 Redirect
When you have finished all the above changes, click Apply in the Tasks pane.