Your IPv4 address:
Operating system:

HSTS: how browsers enforce HTTPS

You type a site’s address without https, and the browser goes to the secure version without an unencrypted request first. Often that is HTTP Strict Transport Security (HSTS): an HTTPS site tells supporting browsers to use HTTPS only for a period of time. The includeSubDomains option broadens the policy, and preload is a separate mechanism not to be enabled casually.

What HSTS changes in the browser

The site sends a Strict-Transport-Security response header with a max-age value in seconds. Once the browser has received the policy over HTTPS, it upgrades later HTTP navigations to HTTPS itself, before sending an ordinary unencrypted request. The very first visit is not covered, because the browser has not seen the policy yet.

Checking the Strict-Transport-Security header

Inspect the header in the site’s HTTPS response. A typical value is Strict-Transport-Security: max-age=31536000; includeSubDomains, where 31536000 seconds is one year. The 2ip server check shows whether its web ports answer from outside, and the 2ip site information check shows the site’s external HTTP response.

Be careful with includeSubDomains and preload

includeSubDomains applies the policy to every subdomain, so first make sure all the subdomains you need work over HTTPS. One that only answers over HTTP stops opening for visitors who hold the policy. Start with a short max-age and raise it later. Preload goes further: the domain is added to a list built into browsers, which also covers the first visit and is slow to undo. Treat it as a separate, longer-lived commitment and not a routine HSTS switch. HSTS is specified in RFC 6797.