spooky particles

Tells your coding agent when an app you shipped breaks.Spooky Particles

If your site's main address starts failing like this, Spooky alerts after two failed checks in a row.

Vercel DNS error: why a custom domain stopped loading

A DNS error on a Vercel site usually means the domain's records do not point at Vercel yet, or the change has not spread. Check the records Vercel shows for the domain in project settings against what your registrar holds.

Why does my Vercel domain show a DNS error?

Vercel's page says the project's domain settings show the DNS record Vercel recommends. A mismatch at your DNS host, or a change that can take time to spread, can leave the custom domain showing a DNS error. Vercel's domain docs also list other causes of an Invalid Configuration status, such as a proxy in front of the domain, CAA records, domain ownership and wildcard setup, so read the exact status the dashboard shows.

How do I fix it?

  1. Compare the records. Open the domain in the Vercel project's settings and compare the recommended record with the record held by your DNS host. Vercel's page says the project settings show the record to use.
  2. Use the record for the domain level. An apex domain such as example.com uses an A record. A subdomain such as www.example.com uses a CNAME.
  3. List or add records when Vercel holds the nameservers. Vercel's custom-domain page and DNS CLI page describe these commands:

``text vercel dns add example.com '@' A your_project_ip vercel dns add example.com www CNAME your_project_cname_target vercel dns list example.com ``

  1. Check the records with `dig`. Run dig A example.com +short for the apex A record. A CNAME at the apex causes an Invalid Configuration error, so check for one with dig CNAME example.com +short. See Vercel's DNS record guide.
  2. Allow the change to spread. DNS changes can take time to spread. Check the domain again after the new record has spread.

What can I paste into my coding agent?

text
Read https://vercel.com/docs/domains/set-up-custom-domain and https://vercel.com/docs/domains/managing-dns-records. Look only at files in this repo for a hard-coded domain or domain config, including domains or redirects in vercel.json. Do not change project settings or DNS. Tell me which records I must check myself at my registrar and in the Vercel dashboard.

Related

For other missing-site causes, see Vercel DEPLOYMENT_NOT_FOUND and Vercel 404 NOT_FOUND. The Vercel deployment errors list covers other failures, Automate fixes explains the coding-agent workflow, VibeOps covers keeping shipped apps running, and the quickstart for coding agents shows how to set up alerts.