Attach the customer's own domain to a site
set_custom_domainStarts attaching a customer-owned domain (for example www.mybakery.com) to a site in place of its runlitehost.com address (a paid plan). It requests the certificate and returns the CNAME record the customer adds to their DNS; the site's live traffic doesn't change until the domain is fully set up. A root domain (mybakery.com) can only be finished where the DNS provider supports CNAME-style records at the root, such as Cloudflare or Route 53; elsewhere the www form works, with the root forwarded to it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>",
"domain": "<domain>"
},
"name": "set_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The customer-owned domain, usually its www form, e.g. "www.mybakery.com". Not a runlite.in or runlitehost.com address. | |
| siteId | Yes |