Connecting cPanel Webmail to Gmail Through Cloudflare

Sep 8, 2020

Connecting cPanel Webmail to Gmail Through Cloudflare

When using cPanel, you may take advantage of the opportunity to create one or more @yourdomain email addresses and connect cPanel webmail to Gmail in order to help you consolidate all of your emails from one place.

By connecting the cPanel webmail to Gmail you can use one Gmail account to send email from up to 5 additional email addresses for free.

You can even set one of these email addresses to be your default send from address instead of your actual Gmail email address.

When connecting your website to the Cloudflare CDN, this can cause errors with your email connection to your server meaning your emails no longer pipe through to your Gmail account.

This is usually a server timed out error. Here we show you how to quickly and easily fix this error in a few simple steps.

Step 1 – Login to your Cloudflare account and select the domain name where you are having problems or a re seeing the connection error.

Step 2 – Navigate to the “DNS” tab in Cloudflare.

Step 3 – Scroll down and find the “A” record with name “webmail”, click on this and click on the orange cloud Cloudflare Cloud Icon which says “Proxied” so it changes to “DNS only” and click save.

Step 4 – Now find the “CNAME” record with the name “mail”, again click on this and click on the orange cloud to change this to “DNS only” and again click save.

Cloudflare take around 5 minutes to update, however it can take a little longer to propagate to your domain so we suggest waiting at least 30 minutes.

After this go back to Gmail and try again to connect your Gmail account to your cPanel webmail address.

This should have fixed the error and you should now be able to connect without any issues.

Please note: If your “A” record and “CNAME” record are already showing “DNS only” then this is not a Cloudflare error and you should contact your hosting provider to check the information you are using to connect your email address is correct.

Find more great articles in our knowledgebase.