And in IIS snap-in, click on web site properties, select custom errors tab, and replace 403;4 with the location of the redirection html page you created with the code above.
How to redirect http to https
Build a simple html page and name it something like "redirect.html" containing the following script:
And in IIS snap-in, click on web site properties, select custom errors tab, and replace 403;4 with the location of the redirection html page you created with the code above.
And in IIS snap-in, click on web site properties, select custom errors tab, and replace 403;4 with the location of the redirection html page you created with the code above.