/Docs

CLI reference

.md

slasha domains

Add your own hostnames to the current app, on top of its default <slug>.<platform-domain> address. Slasha issues and renews HTTPS certificates for them.

Point each domain’s DNS at your server, before or after adding it: an A record to 203.0.113.10 or a CNAME to storefront.ship.acme.dev. See Domains for DNS, Cloudflare and certificate help.

slasha domains list

slasha domains list [--app <slug>]

Columns: DOMAIN, CREATED AT. The default address isn’t listed.

slasha domains list

DNS and certificate health is shown in the dashboard only.

slasha domains add

slasha domains add <DOMAIN> [--app <slug>]
Argument Description Default
DOMAIN Hostname, e.g. shop.acme.com. A full URL works too; scheme, path and port are stripped. Required
slasha domains add shop.acme.com
slasha domains add www.shop.acme.com
SUCCESS: Domain shop.acme.com added to app storefront

Notes:

  • Needs App Settings.
  • acme.com and www.acme.com are two domains. Add each one.
  • The proxy routes the domain right away. The certificate is issued once DNS points at your server, so the first HTTPS visit may take a moment.
  • The first custom domain becomes the URL in slasha apps info.

slasha domains remove

slasha domains remove <DOMAIN> [--app <slug>]
Argument Description Default
DOMAIN Domain to remove, as listed. Case-insensitive; a leading https:// or http:// and a trailing / are ignored. Required
slasha domains remove www.shop.acme.com

No confirmation prompt. Needs App Settings. Remove the DNS record too.