Caddi
Sign inSign up

Domains

Each environment of a project can have its own custom domain. Verification, certs, and routing are wired through Vercel — Caddi just makes the flow legible.

The flow

  • Run caddi domains add <domain> --env production.
  • Caddi creates the domain on Vercel and prints the DNS records you need to add.
  • You (or Caddi, if you’ve connected Cloudflare) add the records.
  • Caddi watches Vercel for verification. Once verified, Vercel issues a cert.

Full CLI: caddi domains.

DNS records

bash
# Apex (meridian.studio)
type   name   value                    ttl
A      @      76.76.21.21              60

# www
type   name   value                    ttl
CNAME  www    cname.vercel-dns.com     60

# Wildcard (e.g. *.meridian.studio for tenant subdomains)
type   name   value                    ttl
CNAME  *      cname.vercel-dns.com     60

Watching propagation

bash
caddi domains status meridian.studio --watch

# 12:14:08  pending dns       checking A record...
# 12:14:38  pending dns       A record visible from 4 / 8 resolvers
# 12:15:10  verified          cert request queued
# 12:15:42  cert ready
# 12:15:42  routing active    https://meridian.studio

Subpages

If verification fails after 30 minutes, Caddi keeps the domain in the project but stops polling. Re-trigger with caddi domains status --recheck once your DNS settles.

Next

Cloudflare →