Subdomain is not working after creating with cloudflare

ssl
dns
cname

#1

Hi all,

I created a subdomain to my website by following this tutorial https://support.cloudflare.com/hc/en-us/articles/200168756-How-do-I-add-a-subdomain-to-my-site-, 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 https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL-


#2

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.


#3

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.


#4

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