dcloud deploy project-domain putSet a project’s wildcard domain for apps
One per project, named by the X-EWS-Project header (its slug); without it, the Default project. The domain (apps.example.com) must be in one of the organization’s hosted zones, delegated to the platform’s nameservers: the platform writes an ALIAS <app slug>.<domain> for every app of the project (and for each new app, or one moved into it), never over a record that is already there, and issues one certificate for *.<domain> over DNS-01 within a minute or two; it is renewed 30 days before it expires. An app moved out of the project loses its name there. An app behind a load balancer is not served at the domain. Previews are not. Setting a different domain removes the old one’s records first. Two projects cannot share a domain, or use one under the other.
Synopsis
dcloud deploy project-domain put --domain domainFlags
--domainRequiredobject
The domain, e.g. apps.example.com; every app of the project answers at <app slug>.<domain>
Constraints: JSON
Example
dcloud deploy project-domain put --domain '{}'Generated from the API description, the same one the API checks requests against and the CLI is built from.