Domains

Add custom domains with cross-provider DNS support.

List domains

relight domains myapp
relight domains myapp --json

Add a domain

relight domains add myapp example.com

If you omit the domain, Relight prompts interactively with a zone picker.

This configures the domain on the provider where the app runs and creates the DNS record.

Cross-provider DNS

If your DNS is on a different provider than your app (e.g., domain on Cloudflare, app on GCP):

relight domains add myapp example.com --dns cf

The --dns flag tells Relight to create the DNS record on Cloudflare while the app runs on GCP.

Remove a domain

relight domains remove myapp example.com