# How to connect cloudflare

**URL:** <https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277>\
**Category:** Hosting Support\
**Created:** [December 27, 2022, 1:32pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277 "2022-12-27T13:32:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [December 27, 2022, 1:32pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/1 "2022-12-27T13:32:08Z")

</div>

epiz\_26803292 or tech4file.ml

How to connect to cloudflare as pastly we can see a option in cpanel now i want to connect my website to cloudflare as it ask my domain to change nameservers but it was connected to this hosting website can any one help me!.  
@KangJL @Admin

---

<div class="post-metadata">

**Author:** ![anon46092769](https://forum.infinityfree.com/letter_avatar/anon46092769/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon46092769](https://forum.infinityfree.com/u/anon46092769)\
**Post date:** [December 27, 2022, 1:57pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/2 "2022-12-27T13:57:22Z")

</div>

> [@tech4file](#):
>
> `@KangJL @Admin`

Please don’t ping users/admins, we will help you when we can 🙂.  
To connect to Cloudflare, you can follow the following guide:

> [@A Full Guide To Cloudflare](https://forum.infinityfree.com/t/a-full-guide-to-cloudflare/44451):
>
> Hello, I will show you how to easily set up Cloudflare, Edit Records, and Troubleshoot with images! PLEASE READ BEFORE STARTING!!! Cloudflare cannot be used on free subdomains from InfinityFree. You can use Cloudflare on Custom Domains ([yoursite.com](http://yoursite.com)) and with Custom Sub-Domains ([subdomain.yoursite.com](http://subdomain.yoursite.com)). A video tutorial can be found at the end of this guide, should you get stuck. You must connect your domain to your InfinityFree account first. [Read more here](https://forum.infinityfree.com/t/how-to-add-your-own-domain-to-your-account/49227). Set-Up Cloudflare Go to [Dash…](http://Dash.Cloudflare.com)

> [@tech4file](#):
>
> as it ask my domain to change nameservers but it was connected to this hosting website can any one help me!

There is no problem if you change your nameservers to Cloudflare, you just need to setup an A record on there and your website will still work. The guide I linked above takes you through the steps of DNS configuration.

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [December 27, 2022, 2:24pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/3 "2022-12-27T14:24:30Z")

</div>

after setup everything can i still apply free ssl certificate in [Login to your account - InfinityFree](https://app.infinityfree.net/sslCertificates) as nameservers are changing so is there anything issue or still can get those certificate

---

<div class="post-metadata">

**Author:** ![akshayan](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/akshayan/32/26339_2.png) [@akshayan](https://forum.infinityfree.com/u/akshayan)\
**Post date:** [December 27, 2022, 7:50pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/4 "2022-12-27T19:50:30Z")

</div>

I don’t think there will be an issue requesting it/installing it.

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 1, 2023, 2:10pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/5 "2023-01-01T14:10:10Z")

</div>

I have tried but my web site isn’t working so again i had to change my nameservers A records added and waited for 72hrs and doesn’t worked properly.

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [January 1, 2023, 3:20pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/6 "2023-01-01T15:20:14Z")

</div>

Forking fine for me

I see:

> We Are Online Platform For Make Learn

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 2, 2023, 12:21pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/7 "2023-01-02T12:21:39Z")

</div>

I didn’t get that but I have changed my Nameservers as it wasn’t showing my website. so I had to change but I have followed everything in the guide

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 2, 2023, 1:17pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/8 "2023-01-02T13:17:36Z")

</div>

can you test tech4file.ml website

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [January 2, 2023, 3:03pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/9 "2023-01-02T15:03:52Z")

</div>

> [@tech4file](#):
>
> test tech4file.ml website

I see this

![image](https://forum-cdn.infinityfree.net/original/3X/2/e/2e9a739c797cf7a59e76ab1998157f381df9fffb.png)

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 2, 2023, 3:44pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/10 "2023-01-02T15:44:52Z")

</div>

Yes after changing Nameservers to cloudflare it is showing this and added records too in dns dashbaord as instructed in the guide and waited long time but it wasn’t connected to hosting

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 2, 2023, 5:05pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/11 "2023-01-02T17:05:32Z")

</div>

Did you completely follow the Full Guide to Cloudflare that was linked above?

> [@How to connect cloudflare](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/2):
>
> Please don’t ping users/admins, we will help you when we can slightly_smiling_face. To connect to Cloudflare, you can follow the following guide: There is no problem if you change your nameservers to Cloudflare, you just need to setup an A record on there and your website will still work. The guide I linked above takes you through the steps of DNS configuration.

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 3, 2023, 6:44am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/12 "2023-01-03T06:44:55Z")

</div>

Yes I have followed every step  
 ![image](https://forum-cdn.infinityfree.net/original/3X/1/7/179f119ab346183774072fa1ba29d7cbcab82ce9.png)  
added records to my IP too

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 3, 2023, 10:31am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/13 "2023-01-03T10:31:07Z")

</div>

OK, so far so good.

What’s your SSL mode between Cloudflare and your account? Are you using Flexible SSL or are you using Full SSL with a self-signed certificate? Or something else?

If you are getting into a redirect loop, it’s usually one of these configuration errors:

- You have Page Rules that redirect everything to HTTPS. Remove these.
- You have .htaccess rules that redirect everything to HTTPS. Remove these.

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 3, 2023, 10:55am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/14 "2023-01-03T10:55:19Z")

</div>

as direct in guide it is set to Flexible SSL and cross checked every step in guide multiple times

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 3, 2023, 12:11pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/15 "2023-01-03T12:11:37Z")

</div>

Please make sure to also see this guide for making it work correctly with WordPress, because WordPress doesn’t work well with Flexible SSL.

> [@How to make Cloudflare Flexible SSL work with WordPress](https://forum.infinityfree.com/t/how-to-make-cloudflare-ssl-work-with-wordpress/49362):
>
> WordPress is a great and very popular website building tool, and Cloudflare is a great way to get HTTPS on your website for free. Thanks to Cloudflare’s Flexible SSL system, you don’t even need to manage SSL certificates to use it! However, getting WordPress to show a padlock and make all pages work can be a bit tricky. This article explains a good way to configure your website correctly with Cloudflare Flexible SSL. Heads up! Instead of making WordPress work with Flexible SSL, you can also c…

Instead of using Flexible SSL, you can also use Cloudflare’s full SSL, which is a bit more involved to setup on the hosting side, but has better security and is typically easier to setup in most sites.

> [@How to setup Full SSL with Cloudflare](https://forum.infinityfree.com/t/how-to-setup-full-ssl-with-cloudflare/60679):
>
> By default, Cloudflare uses a system called “Flexible SSL”. In this system, Cloudflare secures the connection between your visitors and Cloudflare, but not the connection between Cloudflare and your website. Not only is this less secure, some websites (notably WordPress) have trouble detecting whether HTTPS is in use, causing all sorts of issues. The best way to resolve this is by using Full SSL in Cloudflare. This way, the connection between Cloudflare and your website is encrypted, and your w…

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 3, 2023, 1:52pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/16 "2023-01-03T13:52:14Z")

</div>

I’m not using wordpress and also I have another doubt shoud I have to add my subdomains in dns page with my ip or not necessary

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 3, 2023, 1:59pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/17 "2023-01-03T13:59:32Z")

</div>

As my subdomains aren’t working fully should I have to add A record for my subdomains

---

<div class="post-metadata">

**Author:** ![anon46092769](https://forum.infinityfree.com/letter_avatar/anon46092769/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon46092769](https://forum.infinityfree.com/u/anon46092769)\
**Post date:** [January 3, 2023, 2:02pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/18 "2023-01-03T14:02:18Z")

</div>

> [@tech4file](#):
>
> shoud I have to add my subdomains in dns page with my ip or not necessary

Yes, you should add.  
If you have the subdomain “project”, you would need to create an A record for the subdomain with the content 185.27.134.230 (which is the tech4file.ml IP address).

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 3, 2023, 2:03pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/19 "2023-01-03T14:03:13Z")

</div>

Name as project or whole subdomain

---

<div class="post-metadata">

**Author:** ![tech4file](https://forum.infinityfree.com/letter_avatar/tech4file/32/5_5575768a8748004e209b776fc1b2916d.png) [@tech4file](https://forum.infinityfree.com/u/tech4file)\
**Post date:** [January 3, 2023, 2:05pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/20 "2023-01-03T14:05:02Z")

</div>

Just added  
 ![image](https://forum-cdn.infinityfree.net/original/3X/6/9/69fc72193c02da604865b6d5ca2ee59a57a3bf5e.png)

but still error  
 ![image](https://forum-cdn.infinityfree.net/original/3X/0/6/06aeb2f1846eee9eba8fb9be53352d6f1f8e11e9.png)

[Next page](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277.md?page=2)
