Attach an external domain the user already owns
attach_domainAttach an existing domain to a deployed Warpweb site. Receive the CNAME target and DNS instructions; domain status is pending until propagation completes.
Instructions
Attach a domain the customer already registered elsewhere (e.g. GoDaddy, Namecheap) to a deployed Warpweb site. Returns the CNAME target the customer must set at their existing registrar, plus copy-paste DNS instructions for apex + www. Domain status is dns_pending until propagation completes (usually minutes, occasionally up to 48 hours). Use this when the customer says 'I already own the domain' — versus register_domain for new purchases through Cloudflare Registrar. Cost: 5 credits. Custom-domain sites become Active Sites ($10/site/month) for always-on hosting + SSL + monitoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to attach (e.g. "acme-plumbing.com"). Must be owned by the customer. | |
| siteId | Yes | Site UUID to attach the domain to. |