Subdomain for hosted google mail


#1

Hello,

My client is using google mail under their domain name.
I the past we could use the google custom mail link as mail.domain.com

This was done using a CNAME record at the registrar that points to the google server.

CNAME | mail | ghs.googlehosted.com

But for some reason this doesn’t work for us any more with cloudflare.

Does anyone have any idea how to solve this under cloudflare?

Thanks


#2

Could be the use of SSL (I know the redirect only works on plain old HTTP at the Google end).

You could make sure the mail.yourdomain.com record is being proxied (orange cloud) and then add a page rule to do the redirect to the correct GMail URL instead of letting G Suite do it. Something like:

URL matches: mail.yourdomain.com/*
Forwarding URL (302, temp redirect) to https://mail.google.com/a/yourdomain.com


#3

Thank you Saul,

Using the proxied option (oranged) solved that issue.

Dan