Using "mail.*mydomain*.com" to access Gmail with Cloudflare

Hi there,

I actually had a thread about this last year but it’s now closed.
What do I need to do to get to work through Cloudflare?
I get the “Error 525 - SSL handshake failed” screen.

I have “CNAME mail” set and the list of various “MX” set too.

Before I moved my host to another company I just turned off the Cloudflare icon, but this no longer works and probably isn’t the right way to do it anyway.

Any idea folks?



You want to have Google’s mail on that CNAME?

Once it’s configured on the Google Admin dashboard you need to set a page rule for the* route with SSL Full (could be Flexible, not sure, try with the first and if it doesn’t work after half an hour change).

Ah - so it’s something I need to fix in Google Admin then?
What do I need to look for there Matteo?

I believe this will give you a guide.

Ah thanks - so No is the answer it looks like:

" Your domain is set up with a security measure, such as HTTP Strict Transport Security, which requires HTTPS connections. The Admin console supports only HTTP connections for custom URLS, so you can’t customize service addresses for your domain"

However I did discover that using ‘Flexible’ instead of ‘Full (Strict)’ allows me to do what I want anyway!

Thanks for your help Matteo!

1 Like

This is reason enough to not do what you are proposing. Just use a page rule to redirect to and you will get some of what you are looking for. (Anything else is just vanity URLs, and you are paying a significant price for vanity)

But it actually does that exactly from Google’s servers. The login actually happens on on The only thing is that it auto-selects the correct account if you have more than one.

This topic was automatically closed after 31 days. New replies are no longer allowed.