add
attach a custom domain to a deployment
Attach a custom domain to a deployment.
Use '*.example.com' (quoted, so your shell leaves the star alone) to serve every subdomain of example.com from the service. A wildcard needs DNS records, which are printed after it is added.
Usage
csph deployments domains add <domain> [flags]
Options
Command Specific
Formatting
For more information about formatting options, see Formatting.
Inherited
Examples
# attach a custom domain
> csph deployments domains add app.example.com --deployment <id>
# serve every subdomain of example.com
> csph deployments domains add '*.example.com' --deployment <id>
See also
- csph deployments domains — manage a deployment's custom domains
- csph deployments domains list — list a deployment's custom domains
- csph deployments domains get — show a deployment's custom domain
- csph deployments domains remove — detach a custom domain from a deployment
- csph deployments domains verify — re-check verification for a deployment's custom domain
- csph deployments domains dns — show the DNS records to point a domain at a deployment