In the meantime I’ve updated my answer, please check if related to the cache too.
Nevertheless, in terms of:
May I just drop this article here:
May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?
Before moving to Cloudflare, was your Website working over HTTPS connection?
You could determine this by:
Use the “Pause Cloudflare on Site” option from the Overview tab for your domain at dash.cloudflare.com .
The link is in the lower right corner of that page.
Give it five minutes to take effect
Then make sure site is working as expected with HTTPS without any HTTPS/SSL error.
In case if not, kindly review with your hosting provider / cPanel AutoSSL / Let’s Encrypt / Certbot to renew your SSL certificate and make sure it’s a valid one for your domain name
Only then should you un-pause Cloudflare and double-check your SSL/TLS setting to make sure it’s Full (Strict).
Here is a way to re-check if you correctly setup the SSL for your domain with Cloudflare:
In case you do not have an SSL certificate, you can use Cloudflare SSL, if so, kindly make sure you follow the instructions as follows on the below article to setup an SSL certificate using Cloudflare Origin CA Certificate:
Last but not least, kindly have a look here for more information regarding correct SSL settings at the SSL/TLS tab on Cloudflare dashboard:
From the provided screenshot, please consider switching the A mail from to (DNS-only) to make sure your e-mails continue to work while using Cloudflare for your domain name.
And also check if the MX hostname contains the target to that mail.yourdomain.com hostname which is set to (DNS-only).
Usually, the MX record should point to a hostname such as mail , and the A (or CNAME ) type record for that hostname should be set to (DNS Only).
May I suggest checking below article if your e-mail records (usually the A mail and the MX record) are configured properly while you are using Cloudflare for your domain name:
Thanks for all of the answers, suggestions, and information that you have provided.
I can convey the process as below:
When I have sent this email, it was “Off”, but there were other options that are selected such as HTTPS Rewrite, Enabled HSTS, Certificate Transperency.
At the moment, I have turned all of them off. It is still not open.
And, I have tried the curl command, it shows a 301 Status Code.
I have an SSL Certificate on my VPS. I have also updated it 2 hours ago. It uses ZeroSSL.
I have changed the changed the email section as you wanted.