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.
Background
Section titled “Background”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.
1. Create / confirm the subdomain
Section titled “1. Create / confirm the subdomain”The subdomain and certificate are account-level actions — create them in your panel so the host is reachable and trusted before deploying.
-
Create the
stagingsubdomain in your DNS, pointed at the server’s IP.- ✅ A
stagingsubdomain exists in DNS, pointed at the server IP.
- ✅ A
-
Issue or confirm the certificate (hosting panel or
certbot).- ✅ A valid certificate covers the staging subdomain.
2. Verify resolution and TLS
Section titled “2. Verify resolution and TLS”Confirm the subdomain resolves to the server and serves a trusted TLS chain before the release lands.
-
Check DNS resolution and the TLS chain.
Terminal window dig +short staging.yourapp.com # expect the server IPcurl -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- ✅
digreturns the server IP andcurl -sIresponds over a valid TLS chain.
- ✅
Checklist
Section titled “Checklist”Do not mark this step done until every box below is checked.
- 🤖 Resolution verified —
staging.yourapp.comresolves to the server (dig +short). - 🤖 TLS verified —
curl -sIreturns a response over a valid TLS chain (green padlock).