If missing, here is a great article about how to add them:
Have you had an SSL certificate at your host/origin already installed? Moreover, do you use some CMS like WordPress installed on HTTP or HTTPS at your host/origin before switching the nameservers to Cloudflare ones and setting up the DNS records at Cloudflare DNS dashboard?
Have you had an SSL certificate at your host/origin already installed?
Yep, SSL is already installted.
Moreover, do you use some CMS like WordPress installed on HTTP or HTTPS at your host/origin before switching the nameservers to Cloudflare ones and setting up the DNS records at Cloudflare DNS dashboard?
My current setup is:
Apache → :80 → http://[www].joleat.com → https://www.joleat.com
Apache → :443 → https://[www].joleat.com
The website uses WordPress as CMS, and yes, it was installed before the DNS record change.
For the redirect error you have show, it is possible that I might have setup a page rule incorrectly. I have just removed it.
My e-mail does work fine with these settings, which are also the ones suggested from my current registrar
From the screenshot above the A record for your sub-domain staging is nowhere pointed or you have masked/hide the IP? Should be pointed to your host/origin IP address.
They are masked, they all point to the same IP, which is my current host/origin
Would mean that yyou have an SSL certificate already installed at your host/origin?
If so, can you please check what SSL option is enabled? Is it Full SSL or any other?
Regarding the redirection, was your WordPress install on HTTP or HTTPS and was it working on which one before you moved to Cloudflare?
How does your Page Rules look like, if so?
Are Always use HTTPS and Automatic HTTPS redirection options enabled at your Cloudflare dashboard?
Other case is where you would also need to rewrite your HTTP to HTTPS at your WordPress database (using either a WordPress plugin like Better Search Replace) - due to possible mixed-content errors which could show up or a redirect loop as currently is showing up.
Would mean that yyou have an SSL certificate already installed at your host/origin?
Yes, I have certbot installed, which takes care of my certificate installation
If so, can you please check what SSL option is enabled? Is it Full SSL or any other?
In the SSL/TLS option page, I have the Flexible option enabled.
Regarding the redirection, was your WordPress install on HTTP or HTTPS and was it working on which one before you moved to Cloudflare?
My WordPress install hasn’t changed from before. The only change I have made was to use Cloudflare DNS instead of Aruba DNS, and every route was working as intended before. The installation was on HTTPS.
Are Always use HTTPS and Automatic HTTPS redirection options enabled at your Cloudflare dashboard?
Both of those options are disabled in the CF dashboard.
Other case is where you would also need to rewrite your HTTP to HTTPS at your WordPress database
I don’t have any HTTPS problems, everything is running ok in that front, and I have no problems of mixed-content.
But there is still to fix the ERR_TOO_MANY_REDIRECTS error showing up.
First of all, thank you for your time, but my original query regards unreachable subdomains, not about WordPress configuration or HTTPS problems, which can and will be resolved later.
So far, I have made the DNS changes you have suggested, to no avail.
You mean you just installed Cloudflare Origin CA certificate? Not needed to if you already have had Certbot’s SSL certificate as already stated from above.
I can confirm I still see the same result, both site and sub-domain working from my end.
Not needed to if you already have had Certbot’s SSL certificate as already stated from above.
Indeed, I have switched back to using the previous cert.
I will give it 48h to see if the propagation works. For now, I have set my PC’s DNS to use Google’s 8.8.8.8 and 8.8.4.4 (I was using Cloudflare’s previously, 1.1.1.1 and 1.0.0.1), and it works fine.
The error still occurs on some devices for some other clients unfortunately.