Skip to content
Help · MoreCloudflare Email Routing on a subdomain: setup and limits
Start here

Cloudflare Email Routing on a subdomain: setup and limits

Receive mail at a subdomain like mail.example.com with Cloudflare Email Routing while your main domain's mail stays put. It's one setting, minus the catch-all.

On this page · 5 sections

Why use a subdomain

  • Your main domain already gets mail somewhere else (Google Workspace, Fastmail, your own server), and you want Cloudflare addresses too without touching its MX records.
  • You want separate addresses for a project, a team or sign-ups, such as orders@shop.example.com.
  • You want to try Email Routing before moving your main address.

Turn it on

  1. In the Cloudflare dashboard, open the main domain and go to Compute > Email Service > Email Routing. Older dashboards show it as Email > Email Routing. [1]
  2. Open Settings. Under Subdomains, type the subdomain, such as mail, and submit it. [1]
  3. Cloudflare adds the subdomain's DNS records for you. Once they have spread, add a routing rule for each address on the subdomain, such as hello@mail.example.com. [1]
  4. Send a test message from another account, and check the Activity log if it doesn't arrive.

The records go on the subdomain's own name, so the main domain's MX records, and the mail they bring in, stay exactly as they are. You can see them under DNS > Records after you submit.

What works on a subdomain, and what doesn't

Address rules
Yes, such as hello@mail.example.com, once its DNS records have spread. [1]
Catch-all rule
No. Cloudflare offers catch-all on the main domain only. [1]
Rules per domain
200, and each subdomain counts as its own domain. [2]
Domains per zone
30 in all, the main domain and every subdomain set up for Email Routing or Email Sending together. [2]
Destination addresses
200 per account, shared by every domain and subdomain. [2]
Which subdomains
Only names in the same zone, such as mail.example.com or corp.example.com. [1]

Mail not arriving? Start with Cloudflare Email Routing not working. All the numbers are on Cloudflare Email Routing and Sending limits.

Subdomains in Ayoh

Ayoh runs in your own Cloudflare account. When your domain already receives mail elsewhere, it offers a subdomain such as mail.example.com by default, registers it with Email Routing for you, and sends all of its mail to your Ayoh mailboxes, so you don't write a rule per address. You can also reply and send from it. Setup is in Getting started.

Sources

Read November 17, 2026.

  • [1] Cloudflare, Configure subdomains (opens in a new tab), last updated October 15, 2026: the Settings > Subdomains form, records added by Cloudflare, literal rules on subdomains, catch-all on the apex only.
  • [2] Cloudflare, Limits (opens in a new tab), last updated October 30, 2026: 30 domains per zone including the apex, 200 rules per domain, 200 destination addresses per account.