Technical Anshu
Tutorials Blog
🌐 Cloudflare DNS Guide

Create a Free Subdomain on Cloudflare Complete Beginner Guide

One domain can give you unlimited addresses like blog, shop, test and nas in front of it — and each one is free. This guide shows the full free method on Cloudflare: add your domain once, then create a subdomain with a single DNS record.

✍️ Technical Anshu🌐 Cloudflare DNS⏱️ 8 minute read
🎥 Watch the complete video guide on the Technical Anshu YouTube channel

Start with the honest part, because the title confuses many people: a subdomain is free because you already own the domain. If you own example.com, names like blog.example.com and nas.example.com cost nothing extra — you are simply adding lines to your own domain's address book, and Cloudflare hosts that address book (your DNS) on its free plan. Cloudflare does not give you a free domain. If you do not own any domain yet, buying one is the only paid step in this whole guide — after that, every subdomain is free. Big companies work exactly this way: Google bought one domain and runs drive, maps and mail as subdomains of it.

Cloudflare Dashboard — DNS Records (example values)
Type Name Content Proxy status TTL A blog 203.0.113.15 Proxied Auto CNAME www example.com Proxied Auto A nas 198.51.100.24 DNS only Auto A @ 203.0.113.15 Proxied Auto
👆 One domain, four addresses. Each row is one free subdomain — the IPs shown are example values, yours come from your hosting or server
1

What You Need Before You Start

Three things, nothing more:

  1. One domain you own — bought from any registrar (the video uses GoDaddy as the example; Cloudflare Registrar and others work the same). If you skip this, there is nothing to create subdomains under
  2. A free Cloudflare account — sign up with your email; the free plan is enough for everything in this guide
  3. The address of the thing you want to point at — your hosting server's IP address, or the hostname your hosting provider gave you. A subdomain is just a name; it must point somewhere real
2

Add Your Domain to Cloudflare Once

This is a one-time setup. After it, creating subdomains takes under a minute each.

  1. Log in to Cloudflare and click Add a site (Connect a domain), then type your domain
  2. Choose the Free plan. Cloudflare scans and imports your existing DNS records — check that your website and email records came across
  3. Cloudflare shows you two nameservers. Go to your registrar (where you bought the domain) and replace the nameservers there with these two
  4. Wait for the domain status to turn Active in Cloudflare. This nameserver change can take a few hours, sometimes up to 24 — this wait happens only once, not per subdomain

Until the domain is Active, new records will not answer on the internet. Do not keep re-adding records while impatient — the record is fine, the delegation is still travelling.

3

Create the Subdomain — One DNS Record

Now the part the whole video is about. In Cloudflare go to DNS → Records → Add record and fill four fields:

  1. Type: choose A if you have a server IP address, or CNAME if you have another hostname to point at
  2. Name: type ONLY the subdomain word — for blog.example.com type blog. Typing the full address here is the most common beginner mistake and creates blog.example.com.example.com, which nobody will ever find
  3. Content: the server IP (for A) or the target hostname (for CNAME)
  4. Proxy status: leave it Proxied (orange) for a normal website — the next step explains when to change it

Click Save. That is it — the subdomain now exists. On Cloudflare, a correct new record usually starts answering within a few minutes.

4

Proxy On or Off — The Orange and Grey Cloud

Every A, AAAA and CNAME record has this toggle, and the video covers it because it changes how traffic flows:

  1. Proxied (orange cloud) — visitors connect to Cloudflare first, then Cloudflare fetches from your server. Your real server IP stays hidden, you get Cloudflare's caching, DDoS protection and a free SSL certificate at the edge. Right choice for websites and dashboards
  2. DNS only (grey cloud) — Cloudflare only answers the name; visitors connect straight to your server and can see its IP. This is required for things the proxy cannot carry, like an FTP or SFTP server address, SSH, or a mail server hostname — the proxy only handles web traffic (HTTP/HTTPS)

Rule of thumb: web things orange, non-web things grey. If a service stops working the moment you turn the cloud orange, that is the reason — turn it grey and test again.

5

Set SSL So the Subdomain Opens Without Warnings

A new subdomain that opens with a browser security warning is almost always an SSL setting, not a DNS mistake:

  1. In Cloudflare go to SSL/TLS → Overview and choose Full or Full (Strict). Full (Strict) is the correct long-term setting when your server has its own valid certificate
  2. Avoid Flexible unless you have no other option — it encrypts only half the journey and is a common cause of redirect loops
  3. If the subdomain is Proxied, Cloudflare's free Universal SSL covers your root domain and first-level subdomains like blog.example.com. Deeper names like app.blog.example.com are NOT covered by the free Universal certificate — a frequent surprise, so keep names one level deep
  4. DNS-only subdomains get no Cloudflare certificate at all — that server must carry its own (a free Let's Encrypt certificate does the job)
6

Pointing It at a Home Server, NAS or Dashboard

The video shows this method used for home servers, NAS boxes, FTP/SFTP and dashboards, so the honest notes for that use:

  1. Your home IP must be public and reachable — if your internet provider puts you behind CGNAT, no DNS record can make your home server reachable from outside; check this before blaming DNS
  2. Home IPs change. When yours changes, update the A record's IP — that is the whole maintenance of this method
  3. Use DNS only for FTP, SFTP and SSH style subdomains, and Proxied only for web dashboards
  4. Never expose a NAS or dashboard login page to the whole internet without a strong password — a subdomain makes something reachable, not safe
🔴 The one-line truth of this entire guide: "free subdomain" means free because your domain is already paid for. Any website or video promising a free domain from Cloudflare with this method is misleading you — Cloudflare Registrar sells domains at cost, it does not hand them out free.

🎥 Watch the Subdomain Creation Process Step by Step

The video shows every click live — adding the domain, A and CNAME records, the proxy toggle and the SSL settings.

▶️ Watch Full Video
❓ Frequently Asked Questions

Is a subdomain on Cloudflare really free?

Yes — once you own the domain. Creating subdomain records in Cloudflare DNS costs nothing on the free plan, and there is no per-subdomain charge. The only paid item is the domain itself, which you buy once from a registrar.

I do not own a domain. Can Cloudflare give me a free one?

No. This method cannot create a free domain. Cloudflare hosts the DNS of a domain you own for free, and Cloudflare Registrar sells domains at cost without markup — but a domain is never free there. Buy the cheapest decent domain you like; every subdomain under it is then free.

How long does a new subdomain take to start working?

A correct record on an already-Active Cloudflare domain usually resolves within a few minutes. If the domain itself was just moved to Cloudflare, the nameserver change can take a few hours (up to 24) before anything under it works.

This guide is based on the Technical Anshu Cloudflare subdomain tutorial video • Stuck on a step? Ask in the video comments — you will get a reply 🙏