I have a web site that I have published. This is published on my own Windows Server 2019 server.
When I hit the URL http://mysite.com, it works great. I can type mysite.com, http://mysite.com, www.mysite.com and it all works like a charm.
I bought an SSL cert, installed it on the server, added the binding and now I need my http to redirect to https.
I've read up on this and I see that there is an HTTP redirect I can install on my IIS server.
I see I can use IIS URL rewrite (looks intimidating, but I can figure it out).
I see some docs on editing the .htaccess file.
I need the "best" and easiest way to do this. I prefer simple and I prefer to use the tools Microsoft has versus jumping thru a million hoops or having to have a PhD in IIS, so, if you please, guide me in my endeavor.
Thanks
Eric
Here is a sample rule which redirects GET requests to HTTPS :
Open in new window