Do I have to add my subdomains to CloudFlare?

I have my domain name example.com on Cloudflare (registrar)
I have my website (apex domain) example.com added to Cloudflare
I’ve created a Cloudflare Pages for a website
I’ve configured a custom domain for this website sub.example.com with proper CNAME record.

Do I need to go to Cloudflare → Websites → Add a Site and add my sub.example.com subdomain to take advantage of Cloudflare features (CDN etc.) ? I’ve read articles that say that all subdomains must be added individually to Cloudflare, and at the same time I’ve read that Cloudflare Pages automatically benefit from Cloudflare features.

Yes, and that’s what you did when you created the subdomain CNAME record. As long as that record is set to proxied :orange:, the subdomain will benefit from all security and performance features set for your zone.

1 Like

Thank you for precisions

1 Like

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