Two things have to be true before a domain serves your site, and they are independent: the name has to resolve to the host, and the host has to prove it may issue a certificate for that name. Almost every stuck domain is one of those two, and knowing which one turns an afternoon into five minutes.
For a subdomain — www.example.com, docs.example.com — the first part is one CNAME pointing at whatever address your host gave you. The second is usually a TXT record, or is handled automatically once the CNAME is in place. The certificate is then issued in the background, typically within a few minutes.
For a bare domain — example.com with no label in front — none of that applies cleanly, and the reason is in the DNS specification rather than in your host. That is the rest of this page.
The 30-second version
| What you want | Record | Notes |
|---|---|---|
www.example.com → host |
CNAME www → target.example.net |
The normal case. Nothing else needed |
| Prove ownership | TXT at the name the host tells you |
Sometimes automatic once the CNAME resolves |
example.com (apex) → host |
ALIAS / ANAME / flattened CNAME |
Only if your DNS provider offers one. A plain CNAME here is invalid |
| Check it | dig +short www.example.com |
Not "wait and see" |
Why the apex is the hard part
A CNAME means "this name is an alias for that name, ask there for everything". The word everything is the problem: the rules say a name with a CNAME may have no other records at all.
The apex of a zone is required to have other records. It carries the SOA that defines the zone and the NS records that say which servers are authoritative for it. Those cannot be removed, so a CNAME cannot legally be added beside them. It is not a restriction your registrar invented and not something a host can ask you to override — a resolver that honoured it would break the domain.
So DNS providers invented non-standard record types that behave like an apex CNAME while serving normal records to the outside world:
- ALIAS (DNSimple and others)
- ANAME (easyDNS and others)
- CNAME flattening (Cloudflare — you enter a CNAME at the apex and it answers with the resolved addresses)
- Alias records (Route 53, limited to AWS targets)
All of them work by resolving the target themselves and answering with the A/AAAA addresses they get back. If your DNS provider has none of these, the apex cannot point at a host that only gives you a hostname, and your options are to move DNS to a provider that does, or to serve the site on www and redirect the apex to it.
The two orders, and why you would pick each
If the domain has no visitors yet, the order does not matter: add the CNAME, let ownership verify however your host does it, done.
If the domain is already serving a live site somewhere else, the order matters a great deal. Pointing the CNAME at the new host first means the moment it resolves, visitors arrive at a host with no certificate yet — and a browser showing a certificate warning is worse than an old site. So for a live move:
- Prove ownership first, with the
TXTrecord, while the domain still points at the old host. - Wait for the certificate to be issued. The new host now has everything it needs except traffic.
- Change the
CNAMElast. The switch is then instant and warning-free.
Any host that only offers the first order is fine for a new domain and awkward for a move.
The Cloudflare trap
If your domain's DNS is hosted at Cloudflare, the two-step order above may not be available to you, and the error you get will not say so plainly.
The mechanism most static hosts use for custom domains refuses to validate ownership by TXT or by an HTTP token when the domain in question is itself on Cloudflare. It wants the CNAME pointing at it first, and only then completes validation. The practical effect: for Cloudflare-hosted domains every record goes in together, and there is no way to have the certificate ready before traffic moves.
Two consequences worth planning around:
- A live move will have a gap. Short — usually a few minutes while the certificate is issued — but real. Do it when nobody is looking rather than at the top of the week.
- A proxied record (the orange cloud) is a third party in the path. If the record is proxied, Cloudflare terminates TLS itself and your host never sees the request the way it expects. Start with the record unproxied (grey cloud), confirm the site serves, and only then decide whether you want Cloudflare in front of it.
What actually blocks a certificate
The certificate is issued by a certificate authority, not by your host, and there is one DNS record that can silently forbid it: CAA.
A CAA record lists which authorities may issue certificates for your domain. If you have one — plenty of people added one years ago and forgot — and it does not name the authority your host uses, issuance fails, and the failure looks like "pending" rather than like an error.
dig +short example.com CAAAn empty answer means no restriction, which is the state most domains are in. If it prints something, either add the authority your host names or remove the record.
How to check, instead of waiting
"DNS propagation" is a phrase that has caused more waiting than any technical fact justifies. Nothing is pushed anywhere. Resolvers cache an answer for as long as its TTL says, and then ask again.
What that means in practice:
- A record that never existed appears immediately. There is nothing cached to expire.
- A record you changed takes up to the old TTL. If the old record said 3600, an hour is the worst case — for resolvers that already asked.
- A miss can be cached too. If you check a name before creating it, the "does not exist" answer is cached according to the zone's SOA minimum, and that is the usual reason a record seems to take longer than the TTL you set.
So lower the TTL before you change anything, not after, and then check directly:
dig +short www.example.com
dig +short www.example.com CNAME
dig @1.1.1.1 +short www.example.comThe third asks a public resolver rather than whatever your laptop is using, which separates "the record is not published" from "my machine still has the old answer".
On Drop2Run
A site here answers on its dropto.live subdomain until you add a domain you own. Adding one is a paid tier — it is the only cost on this service that follows each customer rather than being fixed, which is why it is the line free stops at.
Two things worth stating plainly rather than leaving you to find out:
- A subdomain only.
www,docs,app— a bare domain with no label is refused. If you want the apex to work, redirect it to the subdomain at your DNS provider or registrar. What a domain costs is on the pricing page; what people point one at is on this one. - The Cloudflare case above applies here too, because the mechanism described is the one this uses. If your DNS is on Cloudflare the records go in together; if it is anywhere else you can have the certificate issued before you move traffic, and the interface asks which of the two you are doing.
Troubleshooting
dig shows the right record, the site still 404s or shows the wrong page. The name resolves but the host does not yet recognise it. Ownership verification has not completed, or the domain was never added on the host's side.
Certificate warning in the browser. The name points at the host before a certificate exists for it. If you can, verify first and move the record last. If you cannot — see the Cloudflare section — wait it out; it is minutes, not hours.
Works on www, not on the bare domain. Expected. See the apex section: you need an ALIAS-style record, or a redirect from the apex to www.
Was working, stopped after a DNS change. Look for a second record at the same name. Two CNAMEs, or a CNAME beside an A, is a configuration that resolvers are entitled to treat unpredictably.
Stuck "pending" with no error. Check CAA first, then check that the record is unproxied if your DNS is at Cloudflare.
Questions
Can I point the apex at a static host at all?
Only if your DNS provider offers ALIAS, ANAME or CNAME flattening. If it does not, the standard answer is to serve on www and redirect the apex — which every registrar and DNS provider can do, and which costs one redirect.
Is www bad for SEO?
No. Search engines treat www.example.com and example.com as different hosts, so pick one, serve the site there, and redirect the other to it. Which one you pick does not matter; having both serve the same content without a redirect does.
How long should the TTL be? Low — 300 seconds — while you are changing things, and back up to an hour or more once it is stable. A low TTL costs a few extra lookups; a high one costs you an hour of waiting the next time you need to move.
Do I need to keep the TXT record after it verifies? Usually yes. Hosts re-check ownership, and a record removed as tidying-up is a domain that silently stops being verified later. Leave it unless the host says otherwise.