Cloudflare tutor

A morning desk for Kotha · Gold Coast

· Australia/Brisbane · Lesson

Email Routing: free addresses on your own domain that forward to your inbox

Email Routing

What it is

Email Routing lets a domain on Cloudflare have addresses such as me@drkotha.com without running a mail server. When someone sends to that address, Cloudflare receives it and forwards it to a real inbox you have already verified, such as a Gmail account. It is free, and it works through MX and TXT records that Cloudflare adds to the zone's DNS when you switch it on.

There are three pieces. A destination address is the real inbox, and Cloudflare emails it a verification link before it will forward anything. A custom address is the name on your domain, with a rule that says where it goes. A catch-all rule can send every other address on the domain (anything@drkotha.com) to one place, or drop it.

Email Routing only receives and forwards. It does not give you a mailbox to log into, and replying from me@drkotha.com needs a separate setup, such as sending through your mail provider or Cloudflare's separate email sending product. Because it adds MX records, it replaces whatever mail records the domain had before, so check first that the domain is not already used for mail.

Why it matters

A professional address on your own domain is easy to give out and easy to change. If your inbox ever moves, you edit one rule and the address you printed on a business card keeps working.

A catch-all or a few purpose-named addresses also help with spam control. You can give each website or sign-up its own address, see which one starts receiving junk, and switch that one off without touching the rest.

Do not use forwarding for anything that carries patient information. Forwarded mail passes through several systems, so keep Email Routing for general business and admin mail only.

On your account

From your own setup: on 21 September you set up Email Routing so that me@drkotha.com forwards to your Gmail account. That is exactly the destination, custom address, and rule pieces above, applied to the drkotha.com zone.

kosan.xyz could do the same with its own address, for example hello@kosan.xyz, pointing at the same Gmail destination. That would need one new rule, and the verified destination you already have can be reused.

This tutor Worker has nothing to do with mail. Its wrangler.toml has only routes, and nothing in this lesson changes the Worker, any DNS record, or any email rule.

Do this yourself

These stay in the dashboard, on your side. This site does not change DNS, routes, or other Workers.

  1. In the Cloudflare dashboard, open the drkotha.com zone, go to Email, then Email Routing (menu wording may differ slightly), look at the Routes tab to read the rule for me@drkotha.com and the catch-all setting, then send a test email to me@drkotha.com from another account and write down whether it reached your Gmail and how long it took. Only look and test; do not change any rule.