Skip to content
prod e051e98
Browse

2 · DNS + SSL

Objective — confirm the staging subdomain resolves to the server and serves a valid TLS chain before the first release lands, so the deploy doesn’t fail on an unresolved or untrusted host.

The subdomain and certificate were set up in Phase 4. This is the confirmation gate: get the subdomain resolving and the padlock green before the release lands, so the deploy doesn’t fail on an unresolved or untrusted host.

The subdomain and certificate are account-level actions — create them in your panel so the host is reachable and trusted before deploying.

  1. Create the staging subdomain in your DNS, pointed at the server’s IP.

    • ✅ A staging subdomain exists in DNS, pointed at the server IP.
  2. Issue or confirm the certificate (hosting panel or certbot).

    • ✅ A valid certificate covers the staging subdomain.

Confirm the subdomain resolves to the server and serves a trusted TLS chain before the release lands.

  1. Check DNS resolution and the TLS chain.

    Terminal window
    dig +short staging.yourapp.com # expect the server IP
    curl -sI https://staging.yourapp.com | head -1 # expect HTTP/2 + valid TLS chain
    # Expected: the server IP, then an HTTP/2 status line over a valid TLS chain
    • dig returns the server IP and curl -sI responds over a valid TLS chain.

Do not mark this step done until every box below is checked.

  • 🤖 Resolution verifiedstaging.yourapp.com resolves to the server (dig +short).
  • 🤖 TLS verifiedcurl -sI returns a response over a valid TLS chain (green padlock).