How HSTS Changes Future Visits to a Website
HTTP Strict Transport Security tells supporting browsers to use HTTPS for future requests to a host for a defined period. If the HTTPS certificate later fails, the browser normally prevents bypassing the error for a known HSTS host. The policy can optionally include subdomains.
Review the impact first
- Verify valid certificates and HTTPS responses for any hosts that the proposed policy covers. Include old names, proxies, webmail and nested subdomains where appropriate.
- Check the response header on the actual HTTPS endpoint. Agree a conservative initial duration and deployment scope before considering includeSubDomains.
- Confirm normal navigation, renewals and rollback plans. A browser may keep an already learned policy until it sees a valid update or the configured duration passes.
Treat preload as a separate long-lived decision with its own requirements. A working homepage alone does not verify that every dependent subdomain can use HTTPS.
Related guides
- Why an HTTPS Redirect Needs a Certificate on the Old Hostname
- When a Wildcard Certificate Covers Your Subdomains
- How to Diagnose an HTTPS Certificate Warning
- SSL and Website Security category
Official references
Ferkesh Hosting. Last reviewed .
这对您有帮助吗?
感谢您的反馈!