CloudFlare won't force HTTPS

So in my Dashboard I have ‘Force HTTPS’ and ‘HTTPS Rewrites’ and I have encryption on ‘Full (Strict)’.

And if I go to my website on https it works fine, but I go on http and it lets me go on it and when I try to log into my website it just reloads like I never logged in. So for guests it might show http version and when they register it doesn’t work…

What can I do? Should I add the rewrite rules manually in ‘rules’?

Kindly, may I ask is the Always use HTTPS option being enabled at Cloudflare for your domain?

Moreover, how about Automatic HTTPS rewrites option? (just in case)

Are the DNS records being :orange: cloud too?


So what do I do? It’s still happening

If you dont mind provide us with your Domain, then we can check this :slight_smile:

my website

Your nameserver configuration at your registrar is having some issues:


You need to keep only both Cloudflare nameservers while removing the others (ns1 &


As you are using a free .ml TLD domain.
Could you please re-check at it’s interface and setup the Cloudflare nameservers. Keep only Cloudflare ones. Returned me “An unexpected error occurred. Please try again later” from the origin, and not Cloudflare.

I got the next nameservers returned for your domain:

Kindly, if you want to use Cloudflare, you need to change your nameservers to Cloudflare ones at your domain registar.

Here’s step-by-step instructions how to do it:

1 Like

Oh the ‘An unexpected error occured. Please try again later’ is my website. It broke, because I deleted something by accident.
And if I delete the unaux nameservers then my site won’t work as my host needs them.
And I also have CloudFlare nameservers on my domain:


So you are stuck in the middle. You can’t remove unaux nameservers because your host needs them, but Cloudflare will not work 100% properly because you have unaux nameservers together with Cloudflare nameservers.

Now, when your user visits your website, depends on luck, they might hit Cloudflare IP address or hit your server IP address directly.

What will happen exactly when you remove unaux nameservers? Your hosting will be deactivated immediately?

1 Like

Before it was giving a prohibited IP error but I fixed it and the site works fine…

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.