Free plan20 live domains free, with certificates and the connect page. No card.
Five steps, one of them yours

How a domain goes live.

You make one API call and your customer adds one DNS record. Apexly verifies it with three resolvers, issues a Let's Encrypt certificate and forwards visitors to your app with a signed request.

Last updated

1You

Ask for the domain.

One POST with your customer's hostname. You get back the record they need and a connect link to send them, or embed the same connect flow in your own app with widget.js or @apexly/react. Subdomains get a CNAME; apex domains like globexcareers.com get an A record and a TXT token.

curl -X POST https://api.apexly.dev/v1/domains \
  -H "Authorization: Bearer sk_live_…" \
  -d '{"hostname":"careers.acme.com"}'{
  "status": "pending_dns",
  "dns": { "cname": { "value": "d-tuih5b.cname.apexly.dev" } },  "connect_url": "https://connect.apexly.dev/c/kuu…"}
2Your customer

They add one record.

The connect page looks up where their DNS lives (we recognise 40+ providers, from GoDaddy to Route 53) and shows exactly where to click, in plain words. No support ticket, no screenshot of a DNS panel.

If their DNS is at Cloudflare, they can press Add it for me instead: they paste a Cloudflare token limited to DNS edits on that one zone, and we add the exact records with the proxy off. We use the token once and never store it, ask before replacing a conflicting record, and leave their other records, like MX, alone.

3Apexly

We check it three times.

Cloudflare's resolver, Google's, and the domain's own nameservers must all agree before we move on. If the record is wrong, we say what we expected and what we found.

4Apexly

We get the certificate.

Only for hostnames we verified, never on a guess. Let's Encrypt issues it from one of three ACME accounts, and renewal starts 30 days before expiry. You never see a certificate again.

5Apexly

Visitors reach your app.

Our edge terminates HTTPS and forwards each request to your origin with the original Host header and a signature. You get a domain.active webhook and mark the tenant live.

What does your app need to change?

One thing. Read the Host header to find the tenant, and check the signature so nobody can reach your origin pretending to be us. Copy-paste helpers for Next.js, NestJS, Rails, Django, Laravel and Go are in the Apexly integration docs.

Host: careers.acme.com
X-Forwarded-Proto: https
X-Apexly-Domain-Id: dom_8f3a
X-Apexly-Timestamp: 1760587971
X-Apexly-Signature: 9a3f…// signature = HMAC-SHA256(secret, timestamp + "." + host)
const tenant = await tenants.byHost(req.headers.host);

What happens when something goes wrong?

It says so. Every domain is always in one of these states. Each change fires a signed webhook, shows in the dashboard, and comes with a reason and a fix you can show your customer.

Not live yet? Run the domain doctor: GET /v1/domains/{id}/diagnose, or Diagnose in the dashboard. It checks DNS at the domain's nameservers, 1.1.1.1 and 8.8.8.8, stray A and AAAA records, the Cloudflare proxy, CAA, the certificate, whether your origin answers and the www pair, then names the one thing to fix. Creating a domain already warns you about the common ones, like a CAA record that blocks Let's Encrypt or a Cloudflare proxy left on.

pending_dnsWaiting for your customer's record

We check every 15 seconds for the first hour, then every 5 minutes for 72 hours.

verifyingRecord found, double-checking

Three resolvers must agree, so a stale cache never fools us.

issuingGetting the certificate

Let's Encrypt, spread over three ACME accounts so one rate limit never stalls you.

activeLive over HTTPS

We re-check DNS every 6 hours and renew from day 60 of 90.

dns_brokenYour customer changed their DNS

We keep serving the cert, keep checking, and tell you which record moved.

cert_failedThe CA said no

Usually a CAA record. The error names the exact record to add.

What if Apexly's API is down?

The edge that serves your customers is separate from the API and dashboard. It keeps its own copy of every route and certificate, so if our control plane is down for maintenance, your customers' domains keep working. New domains wait until it is back. What keeps serving, and what does not

Control planeAPI, dashboard, DNS checks, certificates, webhooksChanges routes. Never sits in a request.
mTLS, private
EdgeTLS, routing, signaturesServes every request. Keeps serving on its own.

Questions before you build it in

How long does custom domain setup take?
Your side is one API call and reading the Host header. Once your customer adds their record, we check every 15 seconds for the first hour, so most domains are live over HTTPS within a few minutes. If their DNS provider is slow to publish the record, we keep checking every 5 minutes for 72 hours.
What DNS record does my customer add?
For a subdomain like careers.acme.com, one CNAME to the value in the API response (or to your own white-label host on paid plans). For an apex domain like acme.com, an A record with Apexly's IP address and a TXT record named _apexly. The connect page shows them where to add it at their DNS provider.
Do you support apex domains?
Yes, on every plan, with an A record and a TXT token. Apexly can also serve the www version of an apex domain and redirect it.
What if a domain doesn't go live?
Run the domain doctor: GET /v1/domains/{id}/diagnose, or Diagnose in the dashboard. It checks DNS at three resolvers, stray A and AAAA records, the Cloudflare proxy, CAA, the certificate, your origin and the www pair, then names the one thing to fix.
Can the connect flow be embedded in my app?
Yes. Use widget.js or the @apexly/react component, inline or as a modal, with your brand colour and logo. Your server mints a short-lived connect-session token, so your API key never reaches the browser.
Does Apexly see my traffic?
Yes, in transit. The edge terminates HTTPS so it can route each request, then forwards it to your origin over HTTPS. We log the time, hostname, path, method, status, bytes, timing and visitor IP for 7 days, never request or response bodies or query strings, and we do not cache.

Planning ahead? Read how to leave Apexly and what keeps serving in an outage.

Developer resources

Go make someone's domain live.

Get API key