domains
manage a deployment's custom domains
🌐 Manage a deployment's custom domains.
Attach your own hostnames to a deployment, list the domains already attached,
show one, remove one, print the DNS records to set up, or re-check a domain's
verification status. Each command targets a deployment via --deployment <id>
and keys on the hostname you entered.
After attaching a domain, add the DNS records from dns, then run verify to
re-check issuance.
A wildcard, '*.example.com', serves every subdomain of a domain from one
service. It needs DNS records (the base name record or the ownership TXT
record, the wildcard record, and the certificate record); add prints them,
dns prints them again, and list shows which one it is still waiting for.
Subcommands
| Command | Description |
|---|---|
| add | attach a custom domain to a deployment |
| list | list a deployment's custom domains |
| get | show a deployment's custom domain |
| remove | detach a custom domain from a deployment |
| verify | re-check verification for a deployment's custom domain |
| dns | show the DNS records to point a domain at a deployment |
See also
- csph deployments — manage deployments