ERR_NAME_NOT_RESOLVED 🟨 JavaScript

net::ERR_NAME_NOT_RESOLVED (This site can't be reached — server IP address could not be found)

DNS couldn’t resolve the hostname in the browser.

Seen on: JavaScript

Meaning

Typos, expired domains, missing DNS records, VPN-only internal hosts or DNS propagation delays after changes.

Common causes

  • Typo in the domain
  • DNS record missing or not propagated
  • Internal hostname without VPN
  • Local DNS/hosts file issues

⚡ Quick fix

  1. Check with nslookup/dig
  2. Fix DNS records at your provider
  3. Connect to VPN for internal hosts
  4. Flush DNS cache

Detailed fix by platform

Windows

  1. ipconfig /flushdns

How to diagnose

  1. Domain — Exact hostname?
  2. DNS — Resolves from other networks?

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.