Domains and email
Connect your domain to your site
You bought a domain and the DNS screen is a wall of record types.
- What you get
- The exact records to add, where to add them, and a command that proves they work.
- Paste it into
- Your AI tool, in your project
The prompt
I want to connect my domain [yourdomain.com] to this project, hosted on [host]. The domain is registered at [registrar]. Tell me exactly which DNS records to add: type, name, value, and what each one does in one line. Cover both the bare domain and www, and say which should be the main address and which should redirect. Warn me about existing records I must remove first. Then give me a command to check each record from my terminal, what the right answer looks like, how long changes usually take, and how to tell "still waiting" from "set up wrong". If the host's own docs disagree with you, the docs win. Link them.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in. Replace the parts in [brackets] with your own details first.
More in Domains and email
Your domain doesn’t load or says Not secure
The records are in, hours have passed, and the site still isn’t there.
Make every version of your address go to one place
www, non-www, http and https all load, sometimes as different sites.
Your app’s emails land in spam
Sign-up and reset emails arrive late, in spam, or not at all.
Get an email address on your own domain
You want hello@yourdomain.com without breaking the website or the app’s emails.