Hello, I recently began working with a domain purchased from Namecheap.
I have a couple other domains which are attached as Addon Domains to a shared hosting account operated via cPanel. For both of these other domains, what I had done was setup a Cloudflare site and set an A Record pointing to the IP address of the shared web server. I then used to set up Page Rules for asterisk(dot)domain(dot)extension/asterisk and domain(dot)extension/asterisk. I would set both to “Always use HTTPs”.
However, when I come to do this for my new domain (https://vybex.xyz), the moment I enable the force HTTPs Page Rules, I get the cPanel page headed “Default Web Site Page”. Please find a screenshot of the page here at the top of the linked imgur.
I also used to run into errors with some obscure cPanel 404 page. I’ve never seen this before, and this has never been an issue until now. The port fluctuates between 443 and 80. An example of this page can be seen in the second image in the linked imgur - Sometimes I get the generic 404 ErrorDocument page (third image), this also fluctuates, sometimes on refresh I get one 404 page, and other times I get the cPanel error page…
I have changed the Nameservers to my hosting account’s nameservers, eliminating Cloudflare from the mixture - and it works, over HTTP. I added Cloudflare again, and left the page rules off, and it works, over HTTP. The moment I enforce HTTPS, I get the “Default Web Site Page” served to me by cPanel.
I have been searching for some time now for an explanation to this issue - and I can’t find one, I might be missing something hiding in plain sight… I’ve tried clearing browser cache, flushing the DNS cache, using different browsers, using different ISPs, the issue persists. I have also made sure (after reading another community support post) that the A Record is pointing to the correct IP address.
It’s a weird issue - and sometimes, sometimes it works - and then you refresh the page and it gives you the cPanel error page again…
I’m completely inexperienced with issues like this, and would be really grateful if somebody could shed any light on this topic… If any more information is required - please ask and I’ll provide it immediately.