For the complete documentation index, see llms.txt.

Documentation

Repository docs

This route renders the repository README and markdown under docs/ .

Source: docs/DOMAIN_AND_TLS_ISSUES.md

Rendered document

docs/DOMAIN_AND_TLS_ISSUES.md

Parsed server-side (markdown to HTML in the app). Same bytes you get from the checkout.

Domain and TLS Issues

Use this guide when your Visit URL does not load, shows certificate errors, or DNS does not resolve.

Expected URL

https://{hosted-subdomain}.{deployment-domain}

Confirm the subdomain in config matches what you are visiting. Typos and stale bookmarks are common.

DNS propagation

After first deploy or subdomain change:

FactorTypical wait
New ALB host ruleSeconds to minutes
DNS TTLUp to prior TTL (often 300s–3600s)
Wildcard recordMust exist for ECS *.domain routing

Check resolution:

dig +short myapp.example.com
nslookup myapp.example.com

Expected: ALB DNS name or CloudFront distribution for static endpoints.

TLS / HTTPS errors

ErrorCommon cause
Certificate mismatchVisiting wrong hostname (subdomain not deployed)
NET::ERR_CERT_AUTHORITY_INVALIDDNS points to wrong endpoint
SSL handshake failedALB listener or cert not ready — retry after deploy completes

HTTPS terminates at the platform ALB or CloudFront — your container serves HTTP internally.

502 / 503 with valid DNS

DNS works but edge returns bad gateway:

Subdomain conflicts

Hosted subdomains are globally unique. If deploy DNS steps fail:

  • Another deployment may already use that subdomain
  • Pick a different subdomain and redeploy

Multiple services

Each service needs a distinct subdomain and host rule. Visiting the wrong subdomain shows another service or default ALB response.

After fixing DNS or subdomain

  1. Save config
  2. Redeploy (updates Route 53 / ALB rules)
  3. Wait for propagation
  4. Hard-refresh browser or clear local DNS cache

Windows: ipconfig /flushdns
macOS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Related