NXDOMAIN means the DNS server says the name does not exist. Sometimes the site really is gone or misspelled, but often a stale cache, a VPN or a bad DNS server is to blame.
Before you start: run the test so you have numbers to compare before and after.
Step by step
- Check the spelling. One wrong letter is the most common cause. Try the address without www or with it.
- Test on another network. Open the site on mobile data. If it works there, the problem is DNS on your home network.
- Flush DNS and clear Chrome's host cache. Windows:
ipconfig /flushdns. Mac:sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. In Chrome, visit chrome://net-internals/#dns and click Clear host cache. - Change DNS. Switch to 1.1.1.1, 8.8.8.8 or 9.9.9.9 on the device or router.
- Disable VPN and DNS filtering. Parental controls, ad blockers that work at the DNS level and VPNs can block names on purpose.
- Check the hosts file. Windows: C:\Windows\System32\drivers\etc\hosts. Mac: /etc/hosts. Remove lines that point the site somewhere else.
- Restart the modem and router. Unplug both for 30 seconds. Plug in the modem first and wait until its internet light is solid (2 to 3 minutes), then the router.
Frequently asked questions
Is the website down or is it me?
If the site loads on mobile data or for others, the problem is on your side, usually DNS. If it fails everywhere, the site is down or the domain expired.