All workshops / Outreach email on your own domain, for free
Module 2: Receiving mail with Cloudflare
Moving the domain’s DNS to Cloudflare, turning on Email Routing, and getting the first message into Gmail.
Free, no enrolment needed2.1 Moving the domain’s DNS to Cloudflare
Email Routing only works when the domain’s DNS is on Cloudflare. If your domain is already on Cloudflare, skip this lesson.
Steps
- 1.In the Cloudflare dashboard, click Add a domain and enter your domain.
- 2.Choose the Free plan.
- 3.Cloudflare scans and shows your existing DNS records. Check that your website’s A or CNAME records are correct.
- 4.Cloudflare gives you two nameservers. Go to your registrar account and replace the domain’s nameservers with these two.
- 5.Wait until the domain’s status in Cloudflare shows Active. This usually takes anywhere from a few minutes to a few hours.
What not to do
- Do not change the nameservers before checking your website’s records. If one record is missing, your website can go down.
Domain Active on Cloudflare.
2.2 Turning on Email Routing and creating the address
Now you tell Cloudflare: forward any mail sent to this domain to my Gmail.
Steps
- 1.In the Cloudflare dashboard, open your domain, then in the left sidebar go to Email > Email Routing.
- 2.Click Get started or Enable Email Routing.
- 3.Under Custom address, enter your address, for example outreach.
- 4.Under Destination, enter your Gmail address.
- 5.Cloudflare sends a verification email to your Gmail. Open Gmail and click the link in that email. Forwarding will not start until you verify (you can check the status under Destination addresses).
- 6.Cloudflare offers to add the MX records and an SPF TXT record. Click Add records, and Cloudflare adds them for you.
The SPF record Cloudflare adds for you
v=spf1 include:_spf.mx.cloudflare.net ~allEmail Routing on, Gmail destination verified, MX records in place.
2.3 Testing that mail arrives
Now check that mail really arrives. One thing to keep in mind: if you send a test to yourself from the same Gmail account the mail is forwarded to, Gmail often hides the forwarded copy. So send from a different account.
Steps
- 1.From another email account (a friend’s, or another address of your own), send a message to outreach@yourdomain.com.
- 2.The message should reach your Gmail within a minute.
- 3.If it does not, check the Activity Log on the Email Routing page in Cloudflare. It shows whether the message arrived and whether it was forwarded.
A message sent from outside has reached your Gmail.