Custom Domains
Add, verify, and manage custom domains for your projects.
Add a Domain
Bash1createos domains add api.myapp.com
After adding, the CLI shows the DNS records you need to configure:
✓ Domain "api.myapp.com" added successfully.
Configure your DNS with the following records:
Type Name Value
A api.myapp.com 203.0.113.50
TXT _verify.api createos-verify=abc123
Verify DNS Propagation
After configuring DNS records at your registrar:
Bash1createos domains verify
The CLI polls every 10 seconds and confirms when verification succeeds:
ℹ Waiting for DNS verification of api.myapp.com...
⏳ pending
⏳ pending
✓ Domain api.myapp.com is verified!
Check once without waiting
Bash1createos domains verify --no-wait
List Domains
Bash1createos domains list
Shows domain names, linked environment, verification status, and any messages:
ID Domain Environment Status Message
abc123 api.myapp.com production ✓ active
def456 staging.app.com staging ⏳ pending Awaiting DNS
Delete a Domain
Bash1createos domains delete
Requires confirmation. Use --force in CI.