Subdomain is not working after creating with cloudflare



Hi all,

I created a subdomain to my website by following this tutorial, after this when I tried to access my subdomain it says server ip address could not be found, ERR_NAME_NOT_RESOLVED but if I access my root domain then everything works.

Here my root domain redirects to the index.html page, whereas my subdomain redirects to domain/api route. Plus I am redirecting my website to https by following this


That all looks good. It could just be that DNS needs time to propagate. If it’s still not working, please post the subdomain you’re trying.


Hi, thank you for responding, I just checked my subdomain URL it seems to load now. I assume the issue is, it took some hours to update the DNS record.

closed #4

This topic was automatically closed after 14 days. New replies are no longer allowed.