Use your own domain for preview environments instead of the default .prev.sh subdomain.
Availability
| Plan | Custom Domains |
|---|---|
| Individual | Add-on ($5/month), up to 50 domains |
| Business | Included, up to 50 domains |
Adding a Domain
preview.yourcompany.com)DNS Verification
To verify domain ownership, add a TXT record to your DNS:
_prev-verify.yourdomain.com TXT prev-verify=abc123The verification token is provided in the dashboard when you add the domain. DNS changes can take up to 48 hours to propagate, but usually complete within minutes.
Using Custom Domains
Once verified, use the --custom-domain flag when creating environments:
prev create . --custom-domain preview.yourcompany.com
Managing Domains
From the dashboard, you can:
- View verification status for all domains
- Re-verify domains if DNS changes
- Remove domains you no longer need
SSL Certificates
SSL certificates are automatically provisioned for all custom domains. No additional configuration is required.