# How to add Subdomains to Cloudflare

**URL:** <https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188>\
**Category:** Community Guides\
**Created:** [September 25, 2019, 10:57am UTC](https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188 "2019-09-25T10:57:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon10360230](https://forum.infinityfree.com/letter_avatar/anon10360230/32/6_449c533f586939b6e5f246632a46421f.png) [@anon10360230](https://forum.infinityfree.com/u/anon10360230)\
**Post date:** [September 25, 2019, 10:57am UTC](https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188/1 "2019-09-25T10:57:23Z")

</div>

Alright people, who breaks your subdomains with Cloudflare integration, I have the solution.

**Add cloudflare but “Manually”.**  
(This works only who have your own domain name.)

In this tutorial you see how to add Cloudflare at your own, and add subdomains with the SSL paddlock in your URL too.

1. Disable the “integration of cloudflare” on cPanel.  

2. Go to cloudflare, Log in and “delete the site” that you have in cloudflare, (if you have it)… just scrolling down the page to “remove site from cloudflare.”  

3. Wait atleast 12 hours to cloudflare actualize the state of the account. And the propagate thing. (yeah, its a pain)

4. Go to cloudflare and Add a New site+.  

5. Follow the instructions. Write “your” domain name (write without the www).  

6. Select the free plan.  

7. When you click “confirm”, cloudflare automatically “takes” the IP from your site in infinity free, and all the data needed.  
In that window, (not showed here) cloudflare gives you two DNS names: [chloe.ns.cloudflare.com](http://chloe.ns.cloudflare.com) and [phil.ns.cloudflare.com](http://phil.ns.cloudflare.com). Its diferent for each user.

8. Go to Your Registrar server. Mine is Godaddy. So im go to the site…  

9. I click on DNS button and give me this screen, change the DNS names to the cloudflare’s names. Clic on “save”.  

10. Wait another 24hours to propagate the thing!..  
…

11. Go to cloudflare and if its ok they gives you this screen:  

**Adding Subdomains to Cloudflare:**

First you have to make a subdomain in Infinity free cPanel. Because the server have to make the hosting folder. If you have one, just pass this step to 6.

1. Log-in to client-area, Go to cPanel and click on “Subdomains”…  

2. In the dropbox scroll down and select your domain name.  

3. Write the name of your subdomain. Mine gonna be “toyshop”.  

4. Go to FTP or File Manager, and you’ll see tha a folder named “toyshop.xxxx” is created.  

5. Go to Cloudflare account and click on DNS section. It shows this:  

6. Clic on “Add Record” and show this option. Where say “Type”, clic on the dropdown menu “A” and select “CNAME”.  

7. In “Name” box, write the name of your subdomain (mine is “toyshop”), in “Target” write the domain name. Clic on save.  

8. Now as you can see, the subdomain is added to the list.  

9. Now that’s it. Just go to the File Manager and upload an “index.html” or .php or whatever stuff you use, to your “Subdomain Folder”. And you can see that all your subdomains will have the SSL activation.  
.

10. Remember to activate the redirection from HTTP to HTTPS in cloudflare, its under SSL/TLS section \> Edge Certificates:  

That’s it. Simple and clear. I have to write this because i don’t find clear information on the Infinity Free forums. And everybody wants to have your site 100% verified. 😉

---

<div class="post-metadata">

**Author:** ![Kamdroid](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kamdroid/32/3108_2.png) [@Kamdroid](https://forum.infinityfree.com/u/Kamdroid)\
**Post date:** [September 26, 2019, 3:45am UTC](https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188/2 "2019-09-26T03:45:39Z")

</div>

Very nice guide, wish I knew this before I already had figured everything out.

---

<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:** [October 26, 2019, 3:45am UTC](https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188/3 "2019-10-26T03:45:40Z")

</div>

Closed on October 26, 2019, 3:45am UTC

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

---

<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:** [December 22, 2021, 1:50pm UTC](https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188/4 "2021-12-22T13:50:06Z")

</div>

Opened on December 22, 2021, 1:50pm UTC



---

<div class="post-metadata">

**Author:** ![RobDaPraia](https://forum.infinityfree.com/letter_avatar/robdapraia/32/6_449c533f586939b6e5f246632a46421f.png) [@RobDaPraia](https://forum.infinityfree.com/u/RobDaPraia)\
**Post date:** [December 17, 2023, 10:39am UTC](https://forum.infinityfree.com/t/how-to-add-subdomains-to-cloudflare/21188/5 "2023-12-17T10:39:55Z")

</div>

Thanks a lot! Exactly what I was looking for 🙂
