get_server_domain
The main custom domain and verification status for a server.
Returns a server's main custom domain with its verification state: domain, verified, status, sslStatus, cnameTarget, and verificationErrors. Read-only.
The main domain lives on the server; preview domains live on individual deployments.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
serverId | string | Yes | The server whose domain to retrieve. From list_servers. |
organizationId | string | Yes | The organization the server belongs to. From list_organizations. |
Typical use
Troubleshooting a custom domain: check verificationErrors and cnameTarget against your DNS setup. See Domains for the full setup flow.