Documentation

cli

domains

Add, list, and remove custom domains for your services.

runix domains#

Manage custom domains for a deployed web service. After adding a domain, point your DNS to Runix and TLS certificates are provisioned automatically.

domains list#

Show all custom domains for a service, along with their verification and SSL status.

bash
$ runix domains list backend
DOMAIN                         VERIFIED   SSL
api.myapp.com                  ✓          ✓
staging.myapp.com              pending    pending

domains add#

Add a custom domain to a service. After adding, you need to set up DNS records.

bash
$ runix domains add backend api.myapp.com
✓ Added domain: api.myapp.com

After adding a domain, create a CNAME record pointing to `runixcloud.dev`. Verification and SSL provisioning happen automatically.

domains remove#

Remove a custom domain from a service.

bash
$ runix domains remove backend api.myapp.com
✓ Removed domain: api.myapp.com

Command Reference#

SubcommandArgumentsDescription
`domains list <name>`Service nameList all custom domains
`domains add <name> <domain>`Service name, domainAdd a custom domain
`domains remove <name> <domain>`Service name, domainRemove a custom domain

Custom domains require a Starter plan or higher. Hobby plan users will get an error when trying to add domains.