Waiting for DNS
The expected record is returned immediately and is not visible yet.
Give every customer a branded hostname without building the DNS checks, certificate jobs and hostname routing behind it.
Your product stores one domain ID and renders the exact state returned by the API. The customer sees the DNS record to add; your team sees which layer needs attention.
Create an exact subdomain or apex domain for a selected HTTPS destination.
POST /v1/domains
{ "hostname": "portal.acme.eu" }Subdomains receive a CNAME; apex domains receive the edge IPv4 A records.
CNAME portal.acme.eu → in.subdomain.toDNS, certificate and routing statuses remain visible alongside the overall lifecycle.
dns_status · certificate_status · routing_statusThe overall status describes the workflow. Separate check fields tell support and your UI whether DNS, certificate issuance or routing is responsible.
The expected record is returned immediately and is not visible yet.
DNS matches and validation has started.
The certificate and edge route are being prepared.
DNS, certificate and routing checks are operational.
{
"status": "pending_dns",
"dns_status": "pending",
"certificate_status": "pending",
"routing_status": "pending"
}The lifecycle status drives the overall workflow. The three subsystem statuses tell your UI who can act next and tell support where to investigate.
Send traffic to the public HTTPS application you already operate. HTTPS destinations use port 443 or 8443; credentials, query strings, fragments and private or reserved addresses are rejected.
subdomain.to decides whether a registered hostname may reach the HTTPS destination. Your application still decides which tenant owns that hostname and what the request may access.
Build customer-facing onboarding without losing the controls your engineering and support teams need.
Every creation response includes record type, name and value; no documentation detour is required.
Use an idempotency key based on your customer and domain to replay a failed network request safely.
Inspect the overall lifecycle status, the three subsystem statuses and the latest error instead of guessing from a single badge.
Yes. The API identifies apex domains and returns stable edge IPv4 A records instead of a CNAME.
Yes. Pass an HTTPS destination ID during customer-domain creation; omit it to use the account default.
Active domains remain part of DNS sweeps. A broken record can move to misconfigured, keeping the issue visible.
No. Routes are published only for explicitly registered hostnames after certificate validation.
Start in the dashboard or follow the server-side quickstart. Both paths use the same customer-domain lifecycle.
HTTP/1.1 201 Created
{
"data": {
"hostname": "portal.acme.eu",
"status": "pending_dns",
"dns_records": [{
"type": "CNAME",
"name": "portal.acme.eu",
"value": "in.subdomain.to"
}]
}
}