
Windows Server 2008 or Windows Server 2008 R2


In the Add Roles and Features wizard, click Next.In Server Manager, click the Manage menu, and then click Add Roles and Features.Windows Server 2012 or Windows Server 2012 R2 HTTP Redirection is not available on the default installation of IIS 7 and later. The element replaces the IIS 6.0 HttpRedirect metabase property. However, additional elements like the exactDestination and httpResponseStatus attributes allow you to configure the end-user experience of the redirection by respectively specifying whether IIS 7 will return the destination URL exactly as entered and which HTTP response code to return to the Web client.Īn additional HTTP response status was added to the element in IIS 10.0. In the simplest configuration, you need only set the enabled and destination attributes of the element in order to redirect clients to a new location. Likewise, if you have deployed a new application on a Web server, you could redirect all requests for the old application's URL namespace (for example, ) to the new applications location (for example, ). For example, if your company is migrating to a new Web site, you could redirect all requests from the old Web site to the new Web site. There are several reasons why you might want to redirect clients to a new location.

The element configures settings for Internet Information Services (IIS) 7 that redirect client requests to a new location.
