Redirect HTTP to HTTPS with IIS 10

To redirect a domain to HTTPS, Click on the website in IIS, you will see If you don’t see the

Enable Detailed Error Messages in IIS

Enable Detailed Error Messages in IIS

To show detailed error message on IIS web server, edit web.config, add the following See IIS