How to add subdomain and enable cloudflare on it?

Hi. I have my own domain like site.com added on cloudflare. Now I want to add subdomain for my subsite on domain dl.site.com and enable cloudflare on it. How to do that?

You need to check with your hosting provider on how to add the subdomain at the origin server level. In many cases, this is only a couple of clicks at the cPanel, but each host/server may have different settings and tools.

Once the subdomain is created and mapped at the origin level, all you need to do is create an A record at Cloudflare’s Dashboard > DNS app. The A record should probably point to the same IP address that the A record for the main domain points to, unless your host tells you otherwise.

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