# 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:** 17\
**Page:** 2

<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:05pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/21 "2023-01-03T14:05:03Z")

</div>

> [@tech4file](#):
>
> Name as project or whole subdomain

Only project.

---

<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/22 "2023-01-03T14:05:35Z")

</div>

yes added but error

---

<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:07pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/23 "2023-01-03T14:07:42Z")

</div>

It loads fine for me.

 ![image](https://forum-cdn.infinityfree.net/original/3X/f/7/f7ce34afb581ce4eed528fb32092cd867690d7e3.png)

Keep in mind that this is subject of DNS propagation, since you are changing records.  
Please try clearing your cache:

> **[How to clear your cache (And cookies) on any browser - A simple guide - The...](https://tinkertechlab.com/webhosting/security/how-to-clear-your-browsers-cache)**
>
> Need to clear your browsers cache? This guide shows you how to do it in all major desktop and mobile browsers.

If it doesn’t work, wait some hours and it should start resolving.

---

<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:40pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/24 "2023-01-03T14:40:34Z")

</div>

One of my subdomain doesn’t have ssl record when I added record and checking page it says SSL handshake failed but this domain doesn’t have ssl how to redirect this to http only or how to solve this error

---

<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:51pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/25 "2023-01-03T14:51:25Z")

</div>

I have tried Configuration Rules which helped me to solve this error and Thanks to all for helping me out!

---

<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, 3:03pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/26 "2023-01-03T15:03:01Z")

</div>

[https://tech4file.epizy.com/](https://tech4file.epizy.com/)  
can you check this domain i don’t know why this is not working. what should I have to do and this domain is from same account and same account IP

---

<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, 3:17pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/27 "2023-01-03T15:17:16Z")

</div>

You don’t have a certificate installed:

 ![image](https://forum-cdn.infinityfree.net/original/3X/9/2/922516b1281beb3eb82c5aaeea08fb622b0f5508.png)  
or issued:  
 ![image](https://forum-cdn.infinityfree.net/original/3X/8/b/8b4bf678a478fcdfca4567f862ef2d0e132a3f2a.png)  
Since you have a redirection to HTTPS, I cannot view the website.  
Keep in mind that you cannot use InfinityFree subdomains with Cloudflare.  
To request and install a certificate, please follow the guide below:

> [@How to get Free SSL (HTTPS) on InfinityFree](https://forum.infinityfree.com/t/how-to-get-free-ssl-https-on-infinityfree/49323):
>
> If you’re using free hosting with your own domain or a subdomain, you’ll want to make your website work over HTTPS (SSL). Fortunately, InfinityFree provides all the tools you need to make it so. If you like videos better then text guides, scroll on down to the bottom of this guide. This guide uses the control panel functions and the Free SSL Certificates tool provided by InfinityFree to get SSL up and running on your site. This article only applies to custom domains Free subdomains (like your…

---

<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, 3:46pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/28 "2023-01-03T15:46:19Z")

</div>

Actually [tech4file.epizy.com](http://tech4file.epizy.com) is not connected to cloudflare but created on same account but still not worked this domain I can’t connect to cloudflare right but to test I have connected but still not working even tried some page rules as I have to access that website how to do it

---

<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 4, 2023, 10:12am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/29 "2023-01-04T10:12:36Z")

</div>

Adding a domain to Cloudflare means you’ll be able to get HTTPS from Cloudflare _for that domain_. Other domains, even those on the same account, will only get the benefits of Cloudflare if they are not using Cloudflare themselves.

And Cloudflare doesn’t let you add individual subdomains to their platform, only the entire domain, so you can’t use a free subdomain on Cloudflare.

So if you want HTTPS on your free subdomain, you’ll have to setup Cloudflare with us, and the easiest way to do that is with our Free SSL Certificates system.

---

<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 5, 2023, 7:08am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/30 "2023-01-05T07:08:24Z")

</div>

Added ssl to domain but just for knowledge purpose can you tell me, I didn’t get that I just added tech4file.ml domain to cloudflare and added dns with my ip in dashboard but why this domain is also connected added even page rules also not worked showing ssl error only.

---

<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 5, 2023, 3:21pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/31 "2023-01-05T15:21:13Z")

</div>

I’m sorry, but I don’t understand your message.

You can’t add [tech4file.epizy.com](http://tech4file.epizy.com) to Cloudflare and, as such, cannot use any Cloudflare features on that subdomain. You can only use custom domains with Cloudflare, such as tech4file.ml.

Cloudflare will setup SSL for your domain and any first level subdomains (so test.tech4file.ml will work, but www.test.tech4file.ml will not) by default, but you can turn that off.

On which domain name exactly are you having trouble with SSL right now?

---

<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 8, 2023, 3:34pm UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/32 "2023-01-08T15:34:35Z")

</div>

Nothing everything works fine

---

<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 14, 2023, 7:11am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/33 "2023-01-14T07:11:39Z")

</div>

Guys I face a issue regarding SSL certificate. My domain nameservers are pointed to cloudflare and all sub domains in dns record is pointing to ip address. Yesterday I have created a new sub domain in control panel and in cloudflare I have pointed in dns records too after that I have created a SSL certificate from free SSL certificate in infinityfree portal it says nameservers are pointed to cloudflare create a cname record to point destination but I have created a A record in dns so I can’t create a cname record so how to solve this issue

---

<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 14, 2023, 7:58am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/34 "2023-01-14T07:58:16Z")

</div>

Since you did not provide more info, below is the generic reply.  
If A record and CNAME clashed, discard one of them

---

<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 14, 2023, 8:28am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/35 "2023-01-14T08:28:34Z")

</div>

What should I have to do now should I have to remove A record for new subdomain and create a cname for it for ssl

---

<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 14, 2023, 11:17am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/36 "2023-01-14T11:17:31Z")

</div>

The `_acme-challenge` subdomain should only have one DNS record: a CNAME record to our verification domain, with Cloudflare proxy turned off. The `_acme-challenge` should not have any A, AAA, TXT or any other records on it.

You should have A records for your base domain and any subdomain you want to host a website on (like the `project` subdomain). Since the Name of these records are different, the `_acme-challenge` records to not conflict with your website records, and vice versa.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [January 21, 2023, 11:18am UTC](https://forum.infinityfree.com/t/how-to-connect-cloudflare/70277/37 "2023-01-21T11:18:02Z")

</div>

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

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