After enabling CloudFlare, what else should I do?

Today I’ve enabled CloudFlare via cPanel on my domain http://kamildev.net

Is there any other recommended steps I should do?

I would like to enable CloudFlare’s SSL on my website, but I’m confused on what I’m meant to do. Is it safe for me to change my nameservers to CloudFlare, or am I meant to add that on top of InfinityFree’s nameservers?

Please try explain exactly what needs to be done, thank you.

1 Like

I checked your website and it’s currently using the Cloudflare control panel integration. That means your domain name is using Cloudflare and is all set up.

The next thing to check is to see whether your domain has active Cloudflare SSL. You can do that by typing https:// before your domain in the address bar, e.g. https://kamildev.net/ From my end, I can see your website with a green lock in the address bar.

If you want all visitors to use HTTPS by default, you’ll need to configure your website to enforce that. You can learn of a few approaches here:

https://infinityfree.net/support/how-to-force-all-traffic-to-https/

Since you’re using our control panel integration, your domain name should still point to our nameservers. If you want to use Cloudflare’s nameservers instead, that’s all up to you, but you should disable our integration and sign up with Cloudflare directly to do that.

Just make sure that you never mix multiple sets of nameservers on your domain. Doing so can lead to very weird issues and random behavior. Don’t do so unless you’re 100% sure of what you’re doing, and what the effects are going to be. You can use our nameservers OR use Cloudflare’s nameservers, but definitely should not be using both at the same time.

3 Likes

Thanks for help. Also, will using the cPanel CloudFlare work fine for subdomains, e.g.when I have blog.kamildev.net and such?

Cloudflare integration breaks MX records and subdomains. So it may not work fine.

5 Likes

@Admin Could you confirm if this is true? Otherwise I will try disabling CloudFlare from cPanel and try doing it manually via CloudFlare website?

And if so, do I have to change any nameservers if adding manually through CloudFlare website?

Uhh, so I tried disabling CloudFlare from cPanel and removing from CloudFlare, but my website isn’t connecting…

It’s weird, seems like it can’t find the server unless you use www.kamildev.net, which I don’t want and never configured as such – I think I did something wrong :frowning:

Should I wait for this to be fixed or do I just try adding manual CloudFlare now?

The Cloudflare control panel integration breaks subdomains entirely. They’re inaccessible, both through Cloudflare and directly.

If you sign up with Cloudflare directly, you can use subdomains. If you do, please do make sure you’ve added the subdomain through both our panel (to setup the web server) and through Cloudflare (to set up the DNS).

2 Likes

The www seemed to be just a DNS issue, seems like it doesn’t force www anymore.

Can I add back my site (as I removed it) using the same CloudFlare account created for me by InfinityFree, since I want to keep all my notifications in one email,

Tomorrow I’ll try adding it manually and hope everything works out. Thanks for all the help.

Gave a message on discord (a ping)

1 Like

i’m in the same situation. It break all my subdomains.
My registrar is in GoDaddy, and i have a cloudflare’s account.

I hope you resolve this because it help me a lot!

Can anyone check https://kamildev.net please… It’s been 2 days since I enabled the manual CloudFlare, everyone says they have HTTPS on my website, but looks like for my whole WiFi it’s still HTTP (checked on all devices which have never been on my website before)

EDIT: Most definitely something wrong with my network caching, maybe. I’ll try read about that, if anyone has any ideas on what I should do.

https://kamildev.net your website is working properly…

If only it worked for me :frowning:

I’ve tried every browser and device in my house, flushed DNS too, no success.

All browsers give me a warning of no SSL when manually visiting in HTTPS. CloudFlare does not redirect HTTP to HTTPS either for me.

Perhaps my whole network has cached the old nameservers (infinityfree) when they have been changed to CloudFlare’s as necessary.

How can I like do a full cache clear of my network, or something?


image

I have a cloud computer on a different network, and HTTPS works fine on its browser. It is definitely my WiFi network, if anyone knows how to fix this, please.

I asked in CloudFlare forums, they said try use their DNS provider instead (1.1.1.1 & 1.0.0.1)

Now my website SSL works fine. I ended up changing my router settings to default to 1.1.1.1, and now SSL is working on all my devices too.

I will be posting a summary of what I’ve ended up doing later today, to help anyone else with these questions.

After changing your naming server from epizy to cloudflare…! Your website is working??
You able to edit your site in infinity free control panel?

Yep. CloudFlare automatically detects that the host is InfinityFree and makes the nameservers work perfectly. It’s very easy.

1 Like

Ok thank you… so If I add MX records in cloudflare dashboard it will work?

I think so. I actually haven’t tried, but I will go and try right now.

1 Like

Ok. Please try and confirm…

Thank you

Give me 20 minutes, I’m trying to understand how to add it properly since I haven’t done this before.

1 Like