Submitting a domain to the HSTS preload list is one of the few TLS changes you can’t quietly undo after a bad deploy. If you run a production domain and want to enable HSTS preloading, the main site is rarely the problem. The risk is the forgotten subdomains that still serve plain HTTP or use certificates browsers don’t trust. This guide covers a staged rollout that finds those hosts first, so the preload entry protects your users without locking out your own staff.
What the Preload List Commits You To
The preload list is a set of domains hardcoded into Chrome. Firefox, Safari and Edge use it too. A browser that ships with your domain on the list never makes a plain HTTP request to it, not even the first one. Users also can’t click through certificate errors.
To be accepted at hstspreload.org, the apex domain must serve a valid certificate and redirect HTTP to HTTPS on the same host. It must also send a header with three parts: max-age of at least 31536000 (one year), includeSubDomains, and preload. A typical header is Strict-Transport-Security: max-age=63072000; includeSubDomains; preload. If you need a refresher on how browsers handle each directive, see how HSTS works and why its configuration needs monitoring.
The includeSubDomains requirement is what causes lockouts. It covers every name under the domain: the ones in use, the ones forgotten, and the ones nobody has created yet.
The Myth That max-age=0 Undoes Preloading
Many people believe that if preloading breaks something, setting max-age=0 rolls it back. It doesn’t. That directive only clears the HSTS entry a browser learned from your header. The preload entry is built into the browser itself.
To remove it, you submit the removal form at hstspreload.org. Then you wait for the change to ship in a Chromium release, and then for users to update. Chrome puts out a stable release about every 4 weeks, so removal realistically takes 2-4 months. It takes longer on devices that update slowly and in embedded browsers. Plan as if the decision were permanent.
Which Subdomains Actually Get Locked Out
The hosts that break are rarely the ones on the architecture diagram. Common examples:
– Admin panels for printers, NAS boxes and badge readers, on names like printer.office.example.com, running self-signed certificates.
– Internal tools on split-horizon DNS that never appear in public zone files.
– Old staging environments that only listen on port 80.
– Email click-tracking subdomains CNAMEd to an email provider that serves HTTP by default. SendGrid branded link tracking without a CDN-fronted certificate is a well-known case.
– Hosts with certificates from an internal CA that isn’t installed on contractor laptops or BYOD phones.
A typical incident goes like this. The main site and API pass every check, and the domain gets submitted. Six weeks later a Chrome update ships with the new list. The next morning, the warehouse team can’t reach the label-printer dashboard at labels.example.com. Its self-signed certificate is now a hard failure, with no “proceed anyway” link. Nothing changed on the printer. The browser changed.
Clients other than browsers, such as curl, Java’s HttpClient, Python requests and most mobile networking libraries, don’t check the preload list. Server-to-server integrations keep working. The damage falls on people using browsers.
Building a Complete Subdomain Inventory
An experienced SRE starts with Certificate Transparency logs. A crt.sh query for %.example.com returns every publicly trusted certificate ever issued under the domain. That usually turns up names nobody remembers. Add exports of every authoritative DNS zone, including internal resolvers, and passive DNS data if you have access to it.
CT logs miss any host that never had a public certificate. Those self-signed and HTTP-only hosts are exactly the ones you’re looking for. Internal DNS zones, DHCP-registered hostnames and the asset register fill that gap. A structured SSL certificate inventory makes this repeatable instead of a one-time exercise.
Test each name on both ports. Use curl -sI http://host/ to check port 80, and openssl s_client -connect host:443 -servername host -verify_return_error to check port 443. Anything that fails verification against public roots, or against the CA your managed devices trust, goes on the fix-it list before the next step.
A Staged HSTS Preloading Rollout
The benefit of staging is simple. Every mistake you find before submission costs minutes to fix, not months.
Step 1 – Header without subdomains. Deploy max-age=300 on the apex without includeSubDomains. Confirm it appears on every response, including 301 redirects, 404 pages and responses cached at the CDN edge.
Step 2 – Add includeSubDomains at a short max-age. Keep max-age=300. Any browser that visits the apex now enforces HTTPS on every subdomain, which works as a reversible canary. Watch help desk tickets and proxy logs for TLS failures on internal names.
Step 3 – Raise max-age gradually. Use 86400 for a week, then 604800 for two weeks, then 2592000 for a month. Each step makes a mistake more costly, so move on only when no new breakage has appeared.
Step 4 – Add preload and submit. Set max-age=63072000, add the preload directive, and submit at hstspreload.org. The site checks your live header and redirect behavior before accepting the domain.
From the first header to submission, 8-10 weeks is reasonable for a domain with more than 30 subdomains. A site with three hostnames can do it in about 2 weeks.
There’s a catch in step 2. The dynamic policy only reaches browsers that load the apex. If staff never visit example.com directly, the canary never reaches their tools. A common trick is to embed a 1×1 image from https://example.com/ on the intranet homepage, so every intranet visit picks up the policy.
Common Mistakes That Cause Lockouts
Redirecting http://example.com straight to https://www.example.com. The preload checker requires HTTP to redirect to HTTPS on the same host first. Skip that hop and the submission fails. The apex also never gets a chance to set the header over HTTPS.
Setting the header only in application code. Error pages from Nginx, maintenance pages from the load balancer and responses from the CDN edge can leave it out. Set the header at the outermost layer that terminates TLS.
Treating certificate expiration as a minor issue. Under HSTS, an expired certificate is a full outage with no bypass. If a renewal job fails silently on one subdomain, every user is blocked from that host. Once the domain is preloaded, expiry alerts and certificate chain validation on every subdomain are required, not optional.
When Preloading Is the Wrong Choice
If internal-only systems have to stay under the production domain and can’t get trusted certificates, move them to a separate domain before you submit. ICANN reserved .internal for private use in 2024, which gives these hosts a clean namespace. The tradeoffs of hosting them internally are covered in monitoring SSL certificates for internal enterprise systems.
Air-gapped networks, kiosks locked to an old browser version, and organizations without central device management all need extra caution. A team of fewer than 10 people with one site and a handful of subdomains usually takes on far less risk. Domains under Google’s .dev and .app TLDs are already preloaded at the TLD level, so there’s nothing to submit for them.
FAQ
Can I preload a single subdomain like shop.example.com?
No. hstspreload.org only accepts registrable domains such as example.com, and the entry always covers all subdomains. To protect only one host, send a normal HSTS header from that host without preload.
How long does it take for preloading to take effect?
Once a domain is accepted, it usually reaches Chrome stable within 1-3 release cycles, roughly 4-12 weeks. Other browsers pick up the list on their own schedules, so full coverage can take several months.
Does HSTS preloading break APIs or mobile apps?
Usually not. Most non-browser HTTP clients ignore the preload list. The exceptions are in-app WebViews and embedded browsers, which can enforce it.
Final Check Before You Submit
Before you click submit, run the full subdomain inventory one last time, not the version from two months ago. New hosts appear during the rollout, and the newest one is usually the one that breaks. If every name passes an HTTPS check with a trusted certificate, and expiry and chain alerts cover all of them, you’re ready to submit.
