Stuck with the error, IIS redirect not working? We can help you.
URL redirection can be frustrating for website owners if the redirection is not working properly. The URL rewrite requires the understanding of the rules before writing it.
As part of our Server Management Services, we assist our customers with requests to fix URL redirection.
Today, let’s see the common error when setting redirection from IIS and how our Support Engineers fix it.
How redirection is set from IIS
Let us discuss how our Support Engineers set redirection from IIS. The redirection for a domain is set from URL rewrite in IIS.
Start >>Administrative Tools >> Internet Information Services (IIS) Manager >> Sites >> Domain_name >> URL rewrite.
Select a new rule and choose a blank rule in Inbound Rules. Enter the rule based on the requirement and apply the rule once completed.
IIS redirect not working – Common errors
Now, let’s have a look at the common errors during setting up redirection in IIS and how our Support Techs resolve them.
1) HTTP to HTTPS not working
One of the most common error faced is HTTP to HTTPS not working. Recently a customer contacted us mentioning that the redirection is not working.
On analyzing, we saw that the HTTPS entry was not in the binding. HTTPS requests use secure port 443. By default, only port 80 is accessible.
In order to fix it our Techs added the HTTPS entry to binding:
2) Redirection type not set properly
Another common error is because the 301 redirection type is not set for the redirection. On creating an URL redirect rule for domain 301 redirection type has to be set. A 301 redirect is a permanent redirect from one URL to another.
On such occasions, our Engineers verify the details and change the redirection type:
3) Incorrect rules
Creating rules in IIS can be confusing. A small mistake in the rule can make the redirection not work. So, creating the URL rewrite rules needs to be right.
Our Engineers analyze the rules and correct the rules to make the site redirect properly.
[The error still prevails? We are available 24*7]
In short, the error IIS redirect not working can be frustrating. Today, we saw how our Support Engineers resolve few common errors with redirection.