by starttoaster · 2y ago · 0 comments
Though it occurs to me their may just be a language barrier and you may have a domain that you manage your DNS in Cloudflare already. If that's the case, a subdomain is just an A record under your domain's DNS settings for anything other than the root domain. So, if your domain is "example.com", the A record could be like "service" with an IP of "192.168.1.10", and your subdomain would then be served on "service.example.com" for example. Subdomains are free, if you have a domain in the first place.
If you're asking if you would already need the subdomain configured in your DNS settings in Cloudflare, then yes, most likely. Though there are tools that create those for you, like external-dns in kubernetes.
Let Cloudflare do DNS, let your registrar be a registrar.
When I deleted the cloudflare DNS for one of my domains I also completely lost access to the cloudflare registrar for that domain.
Even though they should not be coupled at all and the UI makes it very much appear like they are decoupled.
I imagine this is a bug that's been fixed by now but it was still super panic inducing in the moment.
So ya keep those DNS and domains separate if possible.