Cloudflare Create subdomain records: A Guide for Website Owners
Learn how to create a Cloudflare subdomain record, choose the right DNS type, set proxy and TTL, and check hosting and SSL/TLS coverage.
Facts that can change should include a source and check date. Benchmark claims should state the plan, region, method, and test period.
To create a subdomain record in Cloudflare, first confirm that your hosting provider can serve the hostname you want. In the Cloudflare dashboard, open your domain and go to DNS Records → Add record. Choose A for an IPv4 address, AAAA for an IPv6 address, or CNAME when the subdomain should point to another fully qualified domain name. Enter the subdomain label, set the proxy status and TTL as appropriate, then select Save.
What a subdomain record does#
A subdomain is a separate address under your main domain. For example, blog.example.com, support.example.com, and store.example.com use the labels blog, support, and store under example.com.
DNS directs visitors to a website or application. It does not by itself provide an encrypted connection. The subdomain also needs appropriate SSL/TLS certificate coverage.
Choose the DNS record type#
| Record type | Use it when |
|---|---|
A | The subdomain should point to an IPv4 address. |
AAAA | The subdomain should point to an IPv6 address. |
CNAME | The subdomain should point to another fully qualified domain name. |
Use the type that matches the destination supplied by your hosting or application setup. A record type does not replace the need for the destination service to recognize and serve the hostname.
Create the record in Cloudflare#
- In the Cloudflare dashboard, select the domain where you want to add the subdomain.
- Go to DNS Records → Add record.
- Select
A,AAAA, orCNAMEbased on the destination. - Enter the subdomain label in the Name field. For
blog.example.com, enterblog. - Provide the destination: an IPv4 address for
A, an IPv6 address forAAAA, or a fully qualified domain name forCNAME. - Set Cloudflare’s proxy status and TTL according to your setup.
- Select Save.
Check hosting and SSL/TLS coverage#
Creating the DNS record does not guarantee that the website or application will respond. Cloudflare advises confirming first that the hosting provider can serve the chosen hostname. If the provider has a separate domain or hostname configuration, add the subdomain there as well according to that provider’s instructions.
Cloudflare states that its Universal SSL certificate covers first-level subdomains when the main domain uses Universal SSL. Confirm that the certificate covering your particular hostname is appropriate before directing visitors to it.
These steps describe Cloudflare’s dashboard and features. Other DNS providers may use different menus, field names, proxy settings, or certificate arrangements.
Sources
- Cloudflare: Create subdomain records Checked 2026-10-03
- Cloudflare DNS documentation Checked 2026-10-03