sitehelper.online
FAQ: DNS for HTTPS
← Back to FAQ overview
1) What DNS records do I need for HTTPS?
At minimum, A/AAAA records that point the domain to the host serving HTTPS. For GitHub Pages, CNAME is enough for the www host. For CloudFront or S3, follow the provider instructions; many use ALIAS/ANAME at apex or CNAME at subdomain.
2) What is an ALIAS or ANAME record?
These are provider-specific pseudo-records that let the apex behave like a CNAME while staying RFC-compliant. Use them when you need apex to point to a hostname, for example `example.com -> myapp.example.com` or CloudFront endpoint.
3) How do I verify DNS is correct?
Use `dig`, `nslookup`, or `host` to check A, AAAA, CNAME, and NS records. Compare the result with what your registrar or DNS provider UI shows. Propagation usually completes within minutes for TTL=60 but can take hours for cached resolvers.
4) My cert isn’t issuing — is DNS the cause?
Often yes. ACME HTTP-01 requires a public HTTP path visible at the domain; DNS-01 requires TXT records for validation. Verify the exact validation domain, check for conflicting redirects, and ensure the validator can reach the record.
5) Should I reduce TTL before changes?
Yes. Lower TTL to 60–300 seconds before record changes. After the change stabilizes, raise TTL again for better performance. This reduces stale cache windows during migrations or cert rollovers.