How to clear HSTS Settings in Major Browsers

So...I moved my hosting to a new company. No big, right? Except, I had an SSL certificate that implemented HSTS (HTTP Strict Transport Security) on my old server. When I tried to visit the moved content on the new server, all of a sudden, I was getting error messages on every page load and only Opera would actually allow me to connect.

Once I figured out what was going on (that took a while...I couldn't figure out for the life of me why I was being forced to a secure connection when I prefixed the URL in my browser's address bar with http:// - I literally spent hours with .htaccess and vhost.conf files having forgotten that HSTS had previously been implemented and the security cert was tied to the old company's IP) it was pretty simple, although ridiculously hard to find a resolution to, so I figured I'd blog it and soak up what SEO was to be had


Firefox 26: How to fix  Error code: ssl_error_bad_cert_domain

If you see "I understand the risks", follow these instructions. Otherwise:

  1. Close all tabs open with the site.
  2. Clear your history.
  3. In the address bar, type "about:permissions".
  4. Search for and click on the site.
  5. Click "Forget About This Site".

Chrome, Opera: Cannot connect to the real <domain name>.

  1. In the address bar, type "chrome://net-internals/#hsts".
  2. Type the domain name in the text field below "Delete domain".
  3. Click the "Delete" button.
  4. Type the domain name in the text field below "Query domain".
  5. Click the "Query" button.
  6. Your response should be "Not found".

Safari: Clear the HSTS cache.

  1. Close Safari.
  2. Delete the ~/Library/Cookies/HSTS.plist file.
  3. Reopen Safari.