Introduction
CustomDomain™ lets your users connect a domain they already own: it finds the DNS provider, writes or shows the records, verifies them and issues TLS.
Add CustomDomain™ to your product with a drop-in widget, the REST API or the MCP server, or connect a domain of your own in the console with no code.
How it works
Detect the provider
A domain is entered in the widget, the console, the API or an agent.
POST /v1/domains:check finds where its DNS is hosted and which of the six
ways to connect can run there: a
sign-in with the provider, the provider's one-click setup, a secure sign-in, a
scoped API key, the records added by hand, or DNS hosting.
Write the records
The best way in that can finish for this domain writes the records. Where the provider offers none, the exact rows are shown with that provider's own steps. Of the 217 providers in the census on 2026-10-31, 73 have an automatic path and 144 are connected by hand (DNS providers).
Verify
The connection goes live once every record resolves to its expected value.
Records written for the user usually verify within seconds. There is no separate
ownership TXT record: control is proven by the way the records were written, or by
the records appearing in the domain's own DNS
(setup types).
Issue TLS
Once the domain is live, the CustomDomain™ edge issues its certificate on the first request and renews it on its own; on the Growth plan and up it also proxies the domain to your origin. Or point domains at your own infrastructure and serve TLS there (Where domains point).
Pick your path
SaaS platform
Embed the widget so your users connect their own domains inside your product.
Agency
Manage client domains in one workspace and hand the DNS step to whoever holds it.
Your own domain
Point a domain you own at something you run, with no code.
AI agent
Let an agent connect and check domains through the MCP server.
Build with
Widget
customdomain-js and @customdomain/react: the connect modal, in your branding.
REST API
Every /v1 endpoint, its parameters, responses and errors.
Webhooks
Signed events when a domain goes live or fails, and when its certificate is issued or renewed.
MCP server
Twenty-three tools at https://mcp.customdomain.ai/mcp, with scoped agent access.
When something is stuck
Troubleshooting covers domains waiting for their records, DNS mistakes and certificate issues, and the FAQ answers the common questions. For how the pieces fit together, start at Connections and Architecture.
For AI agents
A machine-readable index of this documentation is at
/docs/llms.txt: every page, with its title, URL and
description, so an agent can fetch exactly the page it needs. A site-root copy is
served at /llms.txt. Every page is also
served as Markdown at its own URL plus .md (this one is
/docs.md), and each page links to it with
<link rel="alternate" type="text/markdown">.
Agents can also drive the product directly through the hosted
MCP server at https://mcp.customdomain.ai/mcp: twenty-three
tools for searching, connecting and managing domains. A human owner can also
delegate scoped, revocable access to an agent via OAuth; see
Agent access. An installable
agent skill teaches an agent to use them safely.