pages.set_custom_domain
Attach a custom hostname to a hosted static website.
The hostname must be on a domain this Vee3 account already manages. Vee3 writes DNS and attaches the hostname to the page CDN with TLS. Subdomains use CNAME; the domain apex uses ALIAS. The preview hostname on vee3.site stays available. Setting a new custom domain replaces the previous one. If HTTPS is not ready yet, call this tool again after DNS is live; Vee3 retries TLS issuance.
Cost = 50 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page id to attach the custom domain to. | |
| custom_domain | Yes | Hostname to attach, such as www.example.com or example.com. Must be on a domain this Vee3 account already manages. At most 253 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL for the page. Uses the custom domain when one is attached. | |
| name | No | Display name for the page, if set. | |
| slug | No | Page slug. | |
| status | No | Current page status. | |
| message | No | Note that DNS and TLS can take several minutes to become available, and sometimes up to about 30 minutes. | |
| page_id | No | Unique identifier for the page. | |
| hostname | No | Preview hostname ({slug}.vee3.site). Always present, including when a custom domain is attached. | |
| created_at | No | When the page was created. | |
| updated_at | No | When the page record was last updated. | |
| custom_domain | No | Custom hostname attached to the page, if any. | |
| last_deployed_at | No | When files were last deployed to the page. |