Use your own domain for preview environments instead of the default .prev.sh subdomain.

Availability

PlanCustom Domains
IndividualAdd-on ($5/month), up to 50 domains
BusinessIncluded, up to 50 domains

Adding a Domain

  • Go to Dashboard > Custom Domains
  • Click Add Domain
  • Enter your domain (e.g., preview.yourcompany.com)
  • Complete DNS verification
  • DNS Verification

    To verify domain ownership, add a TXT record to your DNS:

    _prev-verify.yourdomain.com  TXT  prev-verify=abc123

    The 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.