Custom Domain on Cloudflare not showing site

My Netlify site: kevinjohar.netlify.app
Custom Domain: kevinjohar.com

I am setting up DNS through cloudflare which is also my custom domain registrar. The .netlify.app site loads correctly but if I load up kevinjohar.com or www.kevinjohar.com I get this error:
" This site can’t be reached
Check if there is a typo in www.kevinjohar.com.
DNS_PROBE_FINISHED_NXDOMAIN"

This the DNS records I’ve added on cloudflare:

Hi, @kevin-johar. This is the DNS configuration I see currently:

Name server records (type = NS):
kevinjohar.com.		21600	IN	NS	lola.ns.cloudflare.com.
kevinjohar.com.		21600	IN	NS	vick.ns.cloudflare.com.

Records for the apex domain (type = A):
kevinjohar.com.		30	IN	A	34.83.23.240
kevinjohar.com.		30	IN	A	50.18.215.94

Records for www subdomain:
www.kevinjohar.com.	300	IN	CNAME	kevinjohar.netlify.app.
kevinjohar.netlify.app.	20	IN	A	50.18.215.94
kevinjohar.netlify.app.	20	IN	A	34.83.11.4

Those are IP addresses Netlify is using for our CDN. The SSL is also working when I test.

It looks like you have resolve this issue now. Would you please confirm if it is working for you or not?

1 Like

Yup seems like it is working now. Not sure what fixed it.

Thanks!

H, @kevin-johar. Thank you for confirming the issue is now resolved.

My best guess as to why it took time to work properly is that there was a delay in updating DNS records caused by caching. There is a support guide with more information about that here:

Note, that DNS caching behavior is universal to all DNS services. It is not something specific to Netlify.

However, that is only a guess and I’m glad it’s working now.

1 Like