Learn

How should the app show domain status: DNS pending, finishing, live?

Show DNS pending, setup finishing and live as separate states, each moved by a signal you can check: domain.added, then your own app.

Published December 1, 2026 · reviewed December 1, 2026

Three states, each with its own signal

“Connected” hides two different waits: DNS, and your own hosting. Give each one a state, and move a domain forward only on a signal your backend can check:

State shownWhat is trueSignal that ends it
DNS pendingThe connection exists and not every required record has been seen yet (pending or in_progress)The signed domain.added webhook, or the status completed
Setup finishingDNS is connected and your hosting is still getting the hostname readyA request to the hostname is answered by your app
LiveThe customer’s address opens your appNone: this is the state to keep

A connection can also end as failed. Show that as a message of its own and offer to start again, because a new connection has to be created.

The checklist behind the states

  1. Connection confirmed. Your backend received domain.added and verified its signature, or get_connection_status returns completed.
  2. Hostname accepted. The service that serves the app has shop.example.com registered for this customer.
  3. HTTPS ready. That service finished its own setup for the hostname, as explained in A CNAME is live: what still has to happen for SSL?.
  4. App answers. A request to the hostname returns your app.

Cnamio covers item 1 of the checklist above and reports it. It does not serve traffic or issue certificates, so items 2 to 4 belong to your hosting and usually start in the handler of domain.added, described in the webhook docs.

Check each signal yourself

get_connection_status({ jobId: 'job_00000000-0000-4000-8000-000000000000' })
curl -sS -o /dev/null -w "%{http_code}\n" https://shop.example.com/

The first line is the MCP call behind item 1; the job id is a placeholder in the right format. The second line asks the hostname itself. The client sends that name in the Host header and the server uses it to decide which site answers, so the request only returns your app once items 2 to 4 are done.

Sources

Read on December 1, 2026.