Publish · Infrastructure
Domain, DNS, hosting and HTTPS
Many launch problems concern connection to the outside world, and some lack quick reversals.
Direct answer
Verify four things before declaring a domain connected: the canonical host, certificate coverage, redirects ending at one destination and absence of mixed content.
A fifth is a consequential decision: HSTS. Understand it before enabling it.
Four checks
| What you should | How to check | Failure consequence |
|---|---|---|
| Canonical host | Choose with or without www and redirect everything else in one hop. | Duplicate content and signals split across hosts. |
| Certificate | Cover the canonical host and served subdomains. | Browser security warnings deter visitors. |
| Redirects | Avoid chains: http → https → www → final. | Added latency and signal loss at each hop. |
| Mixed content | No resources requested over http from an https. | Browsers block resources, breaking presentation. |
HSTS: a decision without quick reversal
The header Strict-Transport-Security instructs browsers to visit the host only over HTTPSand thereafter browsers prevent bypassing secure-connection errorssuch as invalid certificates. A security benefit requiring careful deployment.
Two documented details matter:
max-agesets the seconds browsers remember the requirement. Each response carrying the header resets expiry by addingmax-ageto the current time, so repeated responses can keep HSTS active indefinitely.includeSubDomainsextends the policy to all subdomains . Any subdomain without working HTTPS becomes inaccessible for themax-age.
KATA's HSTS criterion
We withhold HSTS until the domain and all subdomains are verifiedthen begin with a short max-age and extend it later.
An overlooked subdomain without HTTPS remains unreachable throughout max-agewith no browser bypass. MDN also does not specify how quickly preload removal occursso preload entry requires thorough preparation.
Frequently asked questions
With or without www?
Either, but only one canonical host. Serving identical content on both without clear canonicalisation creates problems.
Should HSTS be active on day one?
First verify all HTTPS hosts, then use a short duration and extend after stability. Earlier activation can turn configuration errors into prolonged outages.
What about preloading?
Google maintains the service, used by browsers according to MDN, but outside the specification. It requires a max-age of at least one year. Consider it after launch.
Primary sources
Each material claim on this page is supported by one of these sources, consulted on the stated date. Bot lists, capabilities and drafts change and are checked again at each review.
| Organisation | Document | Consulted |
|---|---|---|
| MDN · Mozilla | Strict-Transport-Security (HSTS) | 2026-08-30 |
Hosting configuration depends on the provider. This page cites official technology documentation rather than claiming universal hosting settings.
Next decision
Continue with a specific question

robots.txt, sitemap and canonical
Related reading within the same method.
robots.txt, sitemap and canonical →
Corporate and transactional websites
What we can address with you and how we define the work.
Corporate and transactional websites →
Conceptual illustrations; these are not client photographs.