Guides
Sign in

Guide · Email from your domain

Get hello@ your domain for free, in the inbox you already use

Email to your domain goes wherever its MX records point. If it has none, mail to hello@ your domain most likely bounces. Free email forwarding receives it for you and passes it on to the inbox you already have, like Gmail. Here’s how, with Cloudflare Email Routing as the example, and a prompt if your domain is somewhere else.

How it works

A forwarding service runs the mail servers for your domain and sends each message on to an address you choose. Cloudflare’s Email Routing does this for free (Cloudflare), for up to 200 addresses per domain (Cloudflare). It forwards the email you receive. Replying as hello@ is a separate step, below.

It needs Cloudflare to run your domain’s DNS (Cloudflare), so you point the domain’s nameservers at Cloudflare. That changes where you edit your DNS records. Your domain stays registered where you bought it (Cloudflare), and your website stays with its host as long as its records come across in Step 2.

Step 1: See what your domain has now

Before you change anything, look up who runs your DNS and whether email already goes somewhere:

Command for your terminal

dig NS yourdomain.com +short

Command for your terminal

dig MX yourdomain.com +short
  • The first names your DNS host’s nameservers, for example GoDaddy’s domaincontrol.com ones.
  • The second lists your mail servers. Nothing back means mail to your domain almost certainly bounces today. If something comes back, you already have a mailbox somewhere. Email Routing won’t start while another provider’s MX records are there (Cloudflare), and switching would end that mailbox. So stop and decide first.
  • On Windows, nslookup with -type=NS or -type=MX and your domain does the same. Or run our checker: its “People can email you at your domain” line reads your MX records.

Step 2: Let Cloudflare run your DNS

  1. Add your domain to Cloudflare and pick the Free plan. Cloudflare scans for your current DNS records and copies the ones it finds, but the scan can miss some (Cloudflare). Compare its list with the records page at your current DNS host, above all the ones for your website.
  2. Check the cloud next to each record. An orange cloud sends that address’s traffic through Cloudflare, and it’s on by default when you add a domain, and a grey one, “DNS only”, just answers where it is (Cloudflare). If your site is on Vercel, set its records to DNS only: Vercel recommends connecting to it directly where possible (Vercel).
  3. Turn off DNSSEC at your registrar first, if it’s on, as changing nameservers while it’s on can make your domain unreachable (Cloudflare).
  4. Change the nameservers at your registrar to the two Cloudflare gives you. When we did this at GoDaddy, it was the domain’s DNS page, Nameservers, Change Nameservers, then “I’ll use my own nameservers”. Cloudflare emails you when your domain is active (Cloudflare).

You can undo this: put your registrar’s own nameservers back, after turning off DNSSEC in Cloudflare if you turned it on there.

Step 3: Turn on Email Routing

  1. In Cloudflare, go to Compute, then Email Service, then Email Routing, and onboard your domain. Cloudflare adds the records it needs: MX records, an SPF record and a DKIM record (Cloudflare). If your domain already has an SPF record, add include:_spf.mx.cloudflare.net to it rather than making a second one (Cloudflare).
  2. Add your real inbox as a destination address. Cloudflare emails it a link. Click it, as a rule can only send to a verified address (Cloudflare).
  3. Create a routing rule: email pattern hello, action “Send to an email”, destination your inbox (Cloudflare). Add more addresses the same way.

Destination addresses are shared across your Cloudflare account (Cloudflare), so a second domain only needs Steps 2 and 3 again.

Step 4: Test it from another account

Send an email to hello@ your domain from a different account from the one it forwards to: some inboxes drop a message that seems to come from themselves (Cloudflare). When we set this up, a test from the same Gmail address never showed up as new mail. Then check that your MX records point to Cloudflare:

Command for your terminal

dig MX yourdomain.com +short

The answer should name servers ending in mx.cloudflare.net (Cloudflare). Our checker’s line then reads Clear, with the server your mail goes to.

Step 5: Stop fake email in your name

Email Routing sets up SPF. Add a DMARC record too, so inboxes know what to do with email that pretends to be from your domain. In Cloudflare, that’s DNS, Add record, type TXT, name _dmarc:

The record’s content

v=DMARC1; p=quarantine; rua=mailto:hello@yourdomain.com
  • p=quarantine asks inboxes to treat fakes as suspicious, usually spam. If your domain sends no email of its own yet, nothing real can fail. Stop fake email from your domain explains each setting.
  • rua= is where inboxes send their reports. Point it at an address on your own domain, like hello@, and forwarding brings the reports to your inbox. A report address on another domain, like your Gmail, only works if that domain publishes a record agreeing to take them, and Gmail doesn’t publish one for your domain (RFC 9990, section 4).

Replying as hello@

Forwarding only brings email in, so a reply goes out from your Gmail address. Gmail’s “Send mail as” setting used to be the usual way to reply as another address, but Gmail says it will stop supporting other providers’ addresses there from January 2027 (Gmail Help). To reply as hello@, you need something that can send from your domain: a mailbox at a provider that hosts one, or an email sending service used from a mail app. Whichever you use, add it to your SPF record and set up its DKIM before you send. With p=quarantine, mail from hello@ that fails both lands in spam.

Not using Cloudflare?

Many registrars and DNS hosts offer email forwarding of their own. Paste this into your AI tool and it will ask where your DNS is and walk you through it:

Prompt for Lovable, Bolt, Cursor or Claude Code

People can’t email me at my domain because it has no MX record. Help me set up free email forwarding so mail to hello@ my domain reaches the inbox I already use. First ask me where my domain’s DNS is managed. If it’s Cloudflare, walk me through Cloudflare Email Routing; if not, suggest a forwarder that works with my DNS host. Give me the exact MX and SPF records to add, and tell me how to test it from a different email account.

What this can’t tell you

Our checker reads your domain’s MX records and says where your mail goes. It doesn’t send a test email, so it can’t tell whether the forwarding rule works. Step 4 does that. It reads whether you have a DMARC record and its policy, not where its reports go. Cloudflare’s menus change, so if a name here doesn’t match, its Email Routing docs have the current one.

Related

Sources