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 pendingdomains 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.comAfter 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.comCommand Reference#
| Subcommand | Arguments | Description |
|---|---|---|
| `domains list <name>` | Service name | List all custom domains |
| `domains add <name> <domain>` | Service name, domain | Add a custom domain |
| `domains remove <name> <domain>` | Service name, domain | Remove a custom domain |
Custom domains require a Starter plan or higher. Hobby plan users will get an error when trying to add domains.