Pagebee Academy
Step 4 of 17

Part 1, Set up · Step 4

Buy a domain and put it on Cloudflare

Buy the name, then run its DNS on Cloudflare's free plan. Cloudflare sells domains at cost, its DNS is free, and your agent can change it for you.

Time
15 minutes, then up to a day to settle
Cost
The registry's price, usually $10 to $15 a year for a .com

Pagebee Builder, a free Mac app, hands this step to your agent: plan it, build it on a branch, or ship it.Get Pagebee Builder

Why it matters

Your domain is the one thing about your product people type. DNS is the phone book that tells the internet where that name points: your app, your email, your sign-in emails.

Cloudflare's registrar charges what the registry charges, with no markup and no renewal-price surprise in year two. Its DNS is free, and it has an MCP server (step 5), so your agent can add the records later steps need without you copying and pasting them.

Do this

  1. 1

    Make a free account at dash.cloudflare.com/sign-up and verify your email. You can't buy a domain until it's verified.

  2. 2

    To buy a new domain: in the dashboard, open Register domains, search for your name and click Purchase. Choose how many years, check the contact details and complete the purchase. Auto-renew is on by default; leave it on.

  3. 3

    Already bought one somewhere else? In the dashboard, choose Onboard a domain, type the domain (without www), pick the Free plan and check the records Cloudflare found. Make sure any email records (MX and TXT) came across.

  4. 4

    Then, at the company you bought it from, turn off DNSSEC if it's on, and replace the nameservers with the two Cloudflare gave you. Cloudflare emails you when the domain is active, usually within a few hours and always within a day.

Paste into Claude Code

We'll use the domain tally.app for this product. Add a short section to the README called Infrastructure that records: the domain, that DNS is on Cloudflare, the Google Cloud project ID (ask me for it), and that the app will run on Cloud Run. Commit and push.

A README that records where everything lives is the cheapest documentation you'll ever write. Claude Code reads it at the start of every session.

Using something else

Porkbun and Namecheap are fine registrars. Keep the domain wherever you bought it and point its nameservers at Cloudflare; you get the same DNS either way.