Connect page
A hosted page per domain that walks your customer through adding the record, in plain words, under your app's name.
What it is
Every domain comes with a connect_url. Send it to your customer, link it from your settings screen, or open it in a new tab after they type their hostname. It needs no login: the link itself is the credential, it is unguessable, and it stops working when the domain is deleted or expires.
Want it inside your settings page instead of a link? Embed the connect flow with a script tag or the React component.
{
"id": "dom_8f3a",
"hostname": "careers.acme.com",
"status": "pending_dns",
"connect_url": "https://connect.apexly.dev/c/8f3aK2…"
}What your customer sees
The page carries your app's name, and your logo and color when you set them under Settings → Connect page (or logo_url and brand_color on the app). The logo is an https URL your customers' browsers load; Apexly never fetches it. A color too light for white button text (under 4.5:1) is ignored and the page keeps Apexly's orange.
- Detected: "Connect careers.acme.com" and the DNS provider we found from the domain's nameservers ("Your domain is managed at GoDaddy").
- Manual: the one record to add (type, name, value, each with Copy) and three steps written for their provider.
- Checking: "Looking for the record", with when we last checked. They can leave their email address and we write once when the domain is live.
- Live: "careers.acme.com is live." with a link to open it.
- Error: if the record points somewhere else, the expected and found values side by side, "Check again", and a help link that opens an email with the hostname filled in. Set your own support address under Settings → Connect page (or
support_emailon the app) and it reads "Get help from" your app's name; until then it says "Email Apexly support" and we answer.
The page checks the status every 5 seconds while it is open and follows the same states as the API, so it never disagrees with your dashboard.
One-click Cloudflare
When the domain's nameservers are at Cloudflare, Detected offers Add it for me next to the manual steps, and Error offers Fix it for me in Cloudflare. Your customer:
- Opens Cloudflare's Create API token page from the link (the DNS edit permission is filled in) and limits the token to their domain under Zone Resources → Specific zone.
- Pastes the token. We add the record (an apex gets its A and AAAA records and the
_apexlyTXT; withapex_redirect: "www", thewwwCNAME too), always DNS only (grey cloud), and check for it straight away.
The token is used once for that request and never stored, logged or shown again; the page says so next to the field, and your customer can delete the token in Cloudflare right after. Records that are already right are left alone, so pressing it twice is safe.
If a record is already on a name we need (a CNAME pointing elsewhere, other A or AAAA records on the apex, a record with the orange cloud on), nothing is changed: the page lists those records and asks before replacing them, and only those records on those names change. We never delete other record types such as MX or TXT; if one stands where a CNAME has to go, your customer moves it first. Each problem has its own error code: dns_records_conflict, dns_provider_token_invalid, dns_provider_permission_missing, dns_provider_zone_not_found and dns_provider_unavailable.
It is offered for live domains only: test-mode domains are moved by the sandbox and have no DNS to change. Each domain allows 10 tries an hour. Each time records are added we keep an audit entry on the domain (domain.dns_records_added, with the record types and names but never the token); it is not a webhook.
Your brand
The page carries your app's name, not ours. On Free (and Free promotional, the retired launch offer) the footer adds "Powered by Apexly"; paid plans drop it. On paid plans, a white-label host also replaces the CNAME value your customers see.
When to use your own UI instead
Everything the page shows is in the domain object: dns.cname (or dns.apex for an apex), status, status_reason and status_detail.expected / status_detail.found. Render those in your product if you would rather keep customers there, and listen for webhooks instead of polling.