Setting Up DNS Records for a Web App: Apex, www, api, CNAME Flattening, CAA and Verification TXT Records
You can't put a CNAME at the apex because a name with a CNAME can have no other records and the apex must have SOA and NS; the fix is your provider's ALIAS, CNAME flattening or Azure DNS alias feature. We build Bookstore's apex, www, api and staging records in BIND, watch ALIAS's TTL behaviour in PowerDNS, and look at App Service and Front Door verification TXT records, how CAA lookup climbs to parent names, and a script that finds dangling CNAMEs, all with real runs.
14 Nov 2026
·
16 min
·
2