CLICommand referencedomain

domain

Commands, arguments, and options for openship domain.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship domain

Manage custom domains, DNS verification, and SSL certificates

openship domain [options] [command]
SubcommandPurpose
list [options]List a project's custom domains
add [options] <hostname>Add a custom domain and route it on the next deploy
preview <hostname>Preview the DNS records a hostname would need (no changes saved)
verify [options] <id>Run DNS verification for a domain
primary <id>Make a domain the project's primary hostname
records <id>Show the DNS records for an existing domain
renew <id>Renew the SSL certificate for a domain
verify-ssl <id>Recheck that a domain's SSL certificate is issued and valid (no reissue)
renew-allRenew SSL for every near-expiry domain in your organization
dnsPlan and apply provider-managed DNS records
get <id>Show a domain and its routing configuration
remove|rm [options] <id>Remove a domain and its managed route
upload-cert [options] <id>Install a manual certificate through the shared hostname and key validation
verify-pending [options]Retry eligible pending domains within the selected organization

openship domain add

Add a custom domain and route it on the next deploy

openship domain add [options] <hostname>
ArgumentMeaning
hostnameDomain hostname (e.g. app.example.com)
OptionMeaning
-p, --project <id>Project ID to attach the domain to
--primaryMark this domain as the project's primary (default: false)

openship domain get

Show a domain and its routing configuration

openship domain get [options] <id>
ArgumentMeaning
idDomain ID

openship domain list

List a project's custom domains

openship domain list [options]
OptionMeaning
-p, --project <id>Project ID to list domains for

openship domain preview

Preview the DNS records a hostname would need (no changes saved)

openship domain preview [options] <hostname>
ArgumentMeaning
hostnameDomain hostname to preview

openship domain primary

Make a domain the project's primary hostname

openship domain primary [options] <id>
ArgumentMeaning
idDomain ID

openship domain records

Show the DNS records for an existing domain

openship domain records [options] <id>
ArgumentMeaning
idDomain ID

openship domain remove

Remove a domain and its managed route

openship domain remove|rm [options] <id>
ArgumentMeaning
idDomain ID
OptionMeaning
-y, --yesSkip confirmation

openship domain renew

Renew the SSL certificate for a domain

openship domain renew [options] <id>
ArgumentMeaning
idDomain ID

openship domain renew-all

Renew SSL for every near-expiry domain in your organization

openship domain renew-all [options]

openship domain upload-cert

Install a manual certificate through the shared hostname and key validation

openship domain upload-cert [options] <id>
ArgumentMeaning
idDomain ID
OptionMeaning
--cert <file>PEM certificate chain file
--key <file>PEM private key file

openship domain verify

Run DNS verification for a domain

openship domain verify [options] <id>
ArgumentMeaning
idDomain ID
OptionMeaning
--forceRecheck an already-verified hostname
--followStream DNS and certificate progress
--timeout <ms>Stop following after this deadline

openship domain verify-pending

Retry eligible pending domains within the selected organization

openship domain verify-pending [options]
OptionMeaning
--limit <number>Maximum domains to inspect
--min-age <minutes>Minimum pending age in minutes

openship domain verify-ssl

Recheck that a domain's SSL certificate is issued and valid (no reissue)

openship domain verify-ssl [options] <id>
ArgumentMeaning
idDomain ID

On this page