Certbot Returning "unauthorized" and 302 Error on Two Domains

Hello again rg305 and griffin. I am happy to report some more good news. With the kind help of the developers of the web server software that I am now using, the HSTS and redirection issues have now been resolved. What had become a really frustrating and aggravating nightmare with MAMP PRO, is now water under the bridge. As of this date, both of my sites now have:

  1. Automatic renewal and installation of LetsEncrypt certificates.
  2. Proper automatic redirection from http to https
  3. Both sites qualifying for the HSTS Preload List

To any macOS users who are reading this, if you are having problems with MAMP PRO due to the many changes they've made in recent updates which forced us to do certain things THEIR way, I strongly recommend that you switch to Abyss Web Server. It costs the same as MAMP PRO, but their level of support is so much better -- they actually give you timely responses -- and they will help you to work out your issues until you have a smooth-operating site. Plus the automatic installation and renewal of LetsEncrypt certificates relieves you of the hassle of having to do it manually every 60-90 days.

Thank you again rg305 and griffin for trying to help me. I appreciate it.

3 Likes

Thanks

:partying_face: :smiley:

:sweat_smile:

So... you're getting there. Just...

These should be 301 Moved Permanently redirects:

http://billkochman.com
302 Moved Temporarily
https://billkochman.com/
200 OK

http://www.billkochman.com
302 Moved Temporarily
https://www.billkochman.com/
200 OK

You should pick a canonical name (either www or non-www) to get the best SEO performance.

So either:

http://billkochman.com
301 Moved Permanently
https://billkochman.com
301 Moved Permanently
https://www.billkochman.com
200 OK
http://www.billkochman.com
301 Moved Permanently
https://www.billkochman.com

Or:

http://billkochman.com
301 Moved Permanently
https://billkochman.com
http://www.billkochman.com
301 Moved Permanently
https://www.billkochman.com
301 Moved Permanently
https://billkochman.com

Personally, I prefer:

http://billkochman.com
301 Moved Permanently
https://billkochman.com
http://www.billkochman.com
404 Not Found
https://www.billkochman.com
404 Not Found

But I'm a rebel and want to see the demise of the completely-unnecessary www subdomain.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.