Solution: Cloudflare DNS Subdomain Issue - DNS_PROBE_FINISHED_NXDOMAIN

Quick Solution

Check to make sure that you have added A records for your subdomain in the DNS management section for your site on Cloudflare.

Backstory

After adding my site to Cloudflare and updating my Domain Registrar’s name servers to point to Cloudflare’s name servers, I was having issues navigating to my subdomains such as www.brendansluke.com and blog.brendansluke.com.

I was met with this error in Google Chrome:

This Site Cant Be Reached DNS Probe Finished NX Domain

Solution

The issue was that I did not update my DNS records in Cloudflare’s DNS management tool.

I did have the subdomain A records set up properly in the DNS records with my Domain Registrar, but after updating my Domain Registrar to point to Cloudflare’s name servers, the DNS records set with my Domain Registrar were no longer taken into consideration.

Here is a picture of what my Cloudflare DNS management looked like before I added the fix:

Cloudflare DNS Management Screenshot Before Adding Subdomains

After adding the necessary subdomain A records, my subdomains began to resolve after the DNS changes propagated.

Here is a screenshot of my Cloudflare DNS management window after I added A records for my two subdomains (www. and blog.):

Cloudflare DNS Management Screenshot After Adding Subdomains

Thanks for reading, I hope this helped you resolve the DNS_PROBE_FINISHED_NXDOMAIN error that you were seeing on your subdomains after setting up your site in Cloudflare.

Still Having an Issue?

If my solution didn’t resolve your issue, I recommend checking out Cloudflare’s Community message board for further troubleshooting.