Connect a domain · Vercel

How to connect a domain to Vercel

Built your site with Vercel? Here's exactly how to point a custom domain at it — DNS, apex vs www, and SSL — plus what Domain Agent will soon do for you.

Search domains on JustDomain.aiJoin the waitlist
The short answer

To connect a custom domain to Vercel, open your project → Settings → Domains and click Add Domain. Vercel then shows the exact DNS records to add at your registrar — an A record pointing your apex domain to Vercel's IP, and a CNAME for the www subdomain. Once the records propagate and Vercel verifies them, HTTPS is provisioned automatically and your site goes live.

How connecting a domain to Vercel works

Vercel offers three ways to point a domain at a project. For the apex (root) domain you add an A record to Vercel's documented anycast IP, 76.76.21.21. For www and other subdomains you add a CNAME to your project's unique target (Vercel shows a value such as cname.vercel-dns.com). For a wildcard (*.example.com) you instead delegate the whole domain to Vercel's nameservers.

SSL is provisioned automatically via Let's Encrypt once DNS verifies — Vercel even adds the CAA record for you. A TXT record is only needed if the domain is already attached to another Vercel account. One important limit: Vercel does not support IPv6, so do not add an AAAA record.

DNS records to set at your registrar

TypeHostValueNotes
A@ (apex)76.76.21.21Use the exact IP shown in your project's Domains settings.
CNAMEwwwcname.vercel-dns.comCopy the exact per-project target Vercel displays.
NS(whole domain)Vercel nameservers (shown in dashboard)Only for the nameserver method / required for wildcards.

Values verified from Vercel's official docs, as of June 2026. Providers can change these — confirm against Vercel's current dashboard.

Step by step

  1. Have or buy a domain (any registrar works — search and register on JustDomain.ai).
  2. In the Vercel dashboard, open your project → Settings → Domains.
  3. Click Add Domain, enter your domain (e.g. example.com), and accept the prompt to also add www.
  4. At your registrar's DNS panel, add the A record for the apex: @ → 76.76.21.21 (or the IP Vercel shows).
  5. Add the CNAME for www pointing to the exact target Vercel shows (e.g. cname.vercel-dns.com).
  6. Save and wait for DNS to propagate (usually minutes, up to 24–48 hours).
  7. Vercel auto-verifies the records and provisions the SSL certificate; status turns to 'Valid Configuration.'
  8. Open https://example.com and https://www.example.com to confirm the site is live over HTTPS.

Common gotchas

  • The apex needs an A record, not a CNAME — CNAMEs can't be used at the zone root.
  • Don't add an AAAA record — Vercel has no IPv6 and it can break the setup.
  • Copy the CNAME target exactly; it's per-project, so a generic guess may not match yours.
  • Behind Cloudflare? Set the records to 'DNS only' (grey cloud), or the proxy can conflict with Vercel's certificate issuance. Wildcards must use Vercel's nameservers.
Questions
The documented anycast IP is 76.76.21.21 — but use the exact IP shown in your project's Domains settings.

Sources: Vercel — Add a domain · Vercel — Working with DNS

Other tools

Get your domain for your Vercel site

Search and buy on JustDomain.ai today — and join the waitlist to have Domain Agent do all of this for you.

Search domains on JustDomain.aiJoin the waitlist