ADR-0039 accepted
The live site launches on its real domain, with its DNS kept in Prod
Context
The first plan put the site on AWS's default web address and added the real domain later (ADR-0031), because the domain wasn't registered yet. Then Kyle registered hirekylebuhrmann.com. Registering it in the management account automatically created its DNS records there too, by hand rather than by code, in the one account that's changed only by hand.
Two questions followed: launch on the real domain straight away, and where should its DNS records live?
Decision
- The live site uses hirekylebuhrmann.com from its very first public release. Sandbox and Dev stay on AWS's default addresses.
- With its own certificate, the site passes Security Hub's certificate check. Two other web checks stay accepted, with reasons.
- The domain's DNS records live in the Prod account, defined in code and deployed by the pipeline with the site. The registration itself stays in the management account, pointed at Prod.
- The automatically created records in the management account are deleted once Prod's are answering.
- Signing the domain still waits (ADR-0034).
Consequences
- The first public address is the permanent one, with no redirect and no second launch.
- The certificate can only be validated after the domain points at Prod, so the site went live in two pipeline passes.
- Pointing the domain at Prod is a manual step across accounts.
- Rebuilding Prod rebuilds its DNS, and the registration survives.
Alternatives considered
- Launch on the default address and add the domain right after. A release whose address changes within days.
- Keep the DNS records in the management account, as code. Every DNS change becomes a hand-run step there, away from the site.
- Keep the main domain in the management account and give Prod a subdomain. The site needs the main domain.
LLMs look here
- Records D86 and D87. Amends ADR-0031 (D75). Stage 6 merged into Stage 4.
- Domain registered in master 2026-10-16; Route 53 created a public hosted zone there (NS and SOA only, outside CloudFormation). D25 places the zone in Prod; under D83 any master change is a hand-run change set.
- CloudFront.7 no longer accepted in Prod; CloudFront.5 and CloudFront.6 stay accepted.
- Prod zone:
workloads/hkb-dns.yaml, deployed by the pipeline with the site. HKB-DomainAdmin points the registrar's name servers at it. The master zone is deleted once the Prod zone answers, never imported. DNSSEC stays in the follow-on (D78). - The ACM certificate validates only after the registrar points at the Prod zone, so the certificate and alias records land in a second pipeline pass. Pointing name servers is a manual cross-account step, as the DNSSEC DS runbook is.
Page information
- Owner
- Platform Engineering
- Status
- accepted From the decision record.
- Generated from
docs/adr/0039-prod-on-its-own-domain-with-a-stack-owned-zone-in-prod.md- Linked from
- Findings review, Decisions