Register a new domain and attach it to a site
register_domainPurchase a domain at-cost via Cloudflare Registrar and attach it to a deployed Warpweb site, with DNS and Pages custom-domain wiring configured automatically.
Instructions
Purchase a domain via Cloudflare Registrar at-cost and attach it to a deployed Warpweb site in one shot. DNS + Pages custom-domain wiring happen automatically. PRECONDITION: call check_domain first to get a price. The price you pass here must EXACTLY match the price_cents returned by check_domain — this guards against price-drift surprises. Price cap: $50/yr ($5000 cents). The pagesProjectName field is the site slug returned by create_site (e.g. "acme-plumbing-a1b2c3"). Cost: 50 credits + the registrar pass-through fee (in cents). Custom-domain sites also become Active Sites ($10/site/month) for always-on hosting + SSL + monitoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Price in CENTS, must match `price_cents` returned by `check_domain`. Cap: 5000 cents ($50/yr). | |
| domain | Yes | Domain to register (must be the same domain you checked). | |
| siteId | Yes | Site UUID to attach the domain to. | |
| pagesProjectName | Yes | The site slug returned by `create_site` (e.g. "acme-plumbing-a1b2c3"). |