StoicBuilder

HandbookII the ForumDomains and DNS

IIthe Forum, The shape of an app

Domains and DNS

1 min readUpdated 28 November

In plain words

A domain is the name people type, and DNS is the internet's address book that tells their browser which server answers for that name.

Where you see it

The DNS settings at your registrar, such as Namecheap or Cloudflare, where Vercel asks you to add an A record or a CNAME, two kinds of DNS entry. After you save, the domain shows "Invalid Configuration" for a while before it turns valid.

DNS records at your registrarconfig
Type Name ValueA @ 76.76.21.21CNAME www cname.vercel-dns.com
@ means the bare domain. Always copy the exact values your host's domain screen shows.

What goes wrong

  1. Giving up before DNS has spread

    A change can take minutes, occasionally up to 48 hours, to reach every network. Your phone may see the new site while your laptop still sees the old one.

  2. Old records left next to new ones

    An A record from your previous host sits beside the new one, so some visitors reach a dead server. Delete the old records when you move.

  3. Switching nameservers and losing your email

    Moving nameservers to a new provider replaces all your records, including the MX records your inbox depends on. Copy them across first.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
List the exact DNS records I need to add for my domain and its www version on my host, and what each one does. Then show me a terminal command to check whether they're live yet.

Quick check

Sign in to earn +10 XP for it

You added the DNS records an hour ago. Your phone shows the new site, your laptop the old one. What's happening?

Got a prompt that touches domains and DNS?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.