There is always a use case or a scenario where one might want to redirect all request from your website to some other website. The element configures settings for Internet Information Services (IIS) 7 that redirect client requests to a new location.

To begin with, make sure you have HttpRedirect feature enabled, if not it can be easily be enabled by going to the “Programs & Features” >> “Turn Windows features on or off” and enabling “HTTP Redirection” module.

enter image description here

Once you have made sure you have the necessary module installed. Let’s quickly see how to setup the redirection.

enter image description here

enter image description here

Simply put in the url where you want the redirection to happen. You can also redirect to the exact destination instead of relative using the options provided.

Hope this helps. Cheers!