How to redirect traffic for WWW and non-HTTPS web requests to a canonical URL using ASP.NET Core 2.0 with 301 redirects.
Generating and renewing free SSL certificates on IIS using Let's Encrypt.