How to add a subdomain to CloudFlare

Jugo Mobile
By
Jugo Mobile
Jugo Mobile is a platform dedicated to high-quality content in gaming, sports, and tech. Engage with high-quality content and connect with fellow enthusiasts and experts. Explore...
8 Min Read

Device links

So, you’ve been using Cloudflare for a while and have had a good experience. He is happy with everything they have to offer and their website has not had any issues. But now you want to update your website by adding subdomains. Cloudflare is not a web hosting company, so what do you do?

How to add a subdomain to CloudFlare

Can I add subdomains with Cloudflare and if so, how do I do it? If you have asked yourself these questions, then this article is for you. Here we will explain how to add a subdomain on Cloudflare on PC, iPhone, and Android device. Fortunately, adding a subdomain is a simple process. Continue reading to learn more.

How to add a subdomain in Cloudflare on PC

Adding a subdomain on Cloudflare is not done the same way as with a traditional web hosting company. Instead of adding an A record, as you normally would with Cloudflare, you’ll need to add the CNAME record that points to your registered domain. To learn how to add a subdomain in Cloudflare on PC, follow the steps below.

  1. Go to your Cloudflare dashboard.
    1712034761 295 How to add a subdomain to CloudFlare
  2. Go to the domain and click subdomain.
  3. In the top menu, select “DNS.”
    1712034761 487 How to add a subdomain to CloudFlare
  4. Under DNS records, click the “Add Records” button.
    1712034761 865 How to add a subdomain to CloudFlare
  5. In the far left window, for “Type”, select “CNAME” from the drop-down menu.
    1712034761 374 How to add a subdomain to CloudFlare
  6. Next, type the name of the subdomain in the window labeled “Name.”
    1712034761 956 How to add a subdomain to CloudFlare
  7. In the window labeled “Destination,” type your registered domain name.
    1712034762 198 How to add a subdomain to CloudFlare
  8. Click Save.”
    1712034762 785 How to add a subdomain to CloudFlare

You have now added a subdomain on Cloudflare. Edits on Cloudflare update quickly and your new subdomain should be available within a couple of minutes. You can then perform a test to see if it works correctly. See our FAQ to learn how to run a simple proxy test.

How to add a subdomain in Cloudflare on an iPhone

With the Cloudflare iPhone app, you can do what you need as if you were working on a PC. You can add a subdomain; but with Cloudflare it is not done in the same way as with traditional web hosting companies. Instead of adding an A record to add a subdomain, you’ll need to add the CNAME record that points to your registered domain. To learn how to add a subdomain in Cloudflare on an iPhone, follow the steps below.

  1. Navigate to your Cloudflare dashboard.
    1712034762 84 How to add a subdomain to CloudFlare
  2. Tap the domain you want to add a subdomain to.
  3. In the top menu, select “DNS.”
  4. Under DNS records, tap the “Add Records” button.
  5. On the far left, for “Type”, select “CNAME” from the drop-down menu.
  6. Next, in the window labeled “Name,” type the name of the subdomain.
  7. In the window labeled “Destination,” type your registered domain name.
  8. Click Save.”

You have now added a subdomain on Cloudflare. The new subdomain will be available in a couple of minutes. If you wish, you can perform a test to see if it works correctly. See our FAQ to learn how to run a simple proxy test.

How to add a subdomain in Cloudflare on an Android device

You can use the Cloudflare app for Android and do everything you can do on a PC. You will be able to add a subdomain, but with Cloudflare it is not done in the same way as with traditional web hosting companies. It will not add an A record to add a subdomain. You will need to add the CNAME record that points to your registered domain. To learn how to add a subdomain in Cloudflare on an Android device, follow the steps below.

  1. Go to your Cloudflare dashboard.
    1712034762 203 How to add a subdomain to CloudFlare
  2. Click the domain to which you want to add a subdomain.
  3. In the top menu, select “DNS.”
  4. Under DNS records, tap the “Add Records” button.
  5. On the far left, for “Type”, select “CNAME” from the drop-down menu.
  6. In the window labeled “Name,” type the name of the subdomain.
  7. Type your registered domain name in the window labeled “Destination.”
  8. Select “Save.”

You have now added a subdomain on Cloudflare. Edits take very little time and your new subdomain should be available within a couple of minutes. You can then perform a test to see if it works correctly. See our FAQ to learn how to run a simple proxy test.

Frequently asked questions

How can I test to make sure I have set up my subdomain correctly?

An easy way to test if your new subdomain is representing your traffic is to configure a firewall rule and check if the firewall is working. You can create a new Cloudflare firewall rule that blocks your new subdomain. For the hostname, use the exact address of the new subdomain and block all visits. Save this firewall rule and use an Internet browser to visit your subdomain. If it works correctly, you will receive an error message when you try to visit the subdomain. After testing, be sure to delete the new firewall rule. If you don’t do this, all visits to your new subdomain will be blocked.

How do I redirect a subdomain to the root domain?

If you want to redirect traffic from a subdomain to the root domain, you will need to create a DNS To proxy record for the subdomain. The A record can point to any IP address because all traffic is already redirected before reaching the address.

You can also use bulk redirects. You will need to use subpath matching and preserve the matching suffix to ensure that traffic is routed correctly.

Are my subdomains protected with an SSL Certificate?

As long as your root domain uses Cloudflare’s Universal SSL Certificate, the answer is yes. The certificate covers all top-level subdomains. For deeper level subdomains, you can purchase Cloudflare Advanced Certificate Manager, which covers more than one level of a subdomain.

Can I customize the behavior of my Cloudflare subdomain?

Yes. If you are a Cloudflare Enterprise customer, you can configure custom settings and access specific subdomains with Cloudflare. Subdomain support. All other clients must configure domain-specific page rules. Details can be found here. If you want a subdomain setup to be managed by someone without access to Cloudflare, you can find detailed information here.

You don’t need to add subdomains from your web server, do it on Cloudflare

By simply adding the CNAME record that points to your registered domain, you can add a subdomain directly from Cloudflare. With this simple method, you don’t need to do anything with your web hosting company. Your subdomains are also protected with an SSL Certificate, giving you security and peace of mind that your website is safe from threats.

Share This Article
Follow:
Jugo Mobile is a platform dedicated to high-quality content in gaming, sports, and tech. Engage with high-quality content and connect with fellow enthusiasts and experts. Explore the latest trends and innovations in our vibrant community. Join us and experience the future today!
Leave a Comment
Grow your brand and reach a larger audience. Advertise with us today and get noticed by thousands.
© 2025 Jugo Mobile. All Rights Reserved.