Some Websites Not Opening? Fixes That Work
In this article
If only some websites are opening while others fail, the problem is usually not your internet connection but a specific point in the path between your device and the blocked site—DNS, browser cache, a firewall rule, or the site itself. This guide walks through the most common causes and the exact steps to fix them, from quick browser checks to router-level changes.
Why Do Only Certain Sites Fail?
When you type a web address, your device does three things: it asks a DNS server to translate the name (like example.com) into an IP address, it sends a request through your network and ISP, and then it loads the page. A failure at any step tends to affect only some sites because each website uses different servers, IP addresses, and content delivery networks. For example, a corrupted DNS cache entry for one domain will block that site while others work fine. Similarly, a firewall rule might allow general web traffic but block a specific port or IP range used by a particular service.
Common symptoms include:
- Google, YouTube, and Facebook load, but your bank or a small blog times out.
- One site works on your phone over mobile data but not on your home Wi-Fi.
- All sites work in a private/incognito window but fail in your normal browser.
- You get a "This site can't be reached" error with a specific code like DNS_PROBE_FINISHED_NXDOMAIN or ERR_CONNECTION_TIMED_OUT.
Quick Browser Fixes to Try First
Before touching router settings, clear the most common browser-level causes. These take under a minute and fix a surprising number of cases.
- Try a private/incognito window. If the site loads there, the issue is likely cached data or an extension in your normal window.
- Clear your browser cache and cookies. In Chrome, go to Settings → Privacy and Security → Clear browsing data. Choose "All time" and check both boxes. In Firefox, use Ctrl+Shift+Delete (Cmd+Shift+Delete on Mac) and select everything.
- Disable browser extensions. Ad blockers, VPN extensions, or privacy tools can block specific domains. Temporarily turn them all off and reload the page.
- Check if the site is down for everyone. Use a service like downforeveryoneorjustme.com (type the URL into their checker). If the site is down globally, no local fix will help.
DNS: The Most Common Culprit
DNS (Domain Name System) is like the internet's phone book. Your router or ISP assigns a DNS server, and that server sometimes has outdated or corrupted entries for specific domains. If one site fails but others work, flushing your DNS cache is the first step.
To flush DNS on Windows: Open Command Prompt as administrator and type ipconfig /flushdns. On macOS, open Terminal and type sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. This clears the local cache of recent lookups.
If flushing doesn't help, change your DNS server to a public one. This overrides your ISP's DNS, which may be blocking or misrouting certain domains.
- Google Public DNS: 8.8.8.8 and 8.8.4.4
- Cloudflare: 1.1.1.1 and 1.0.0.1
- Quad9 (blocks malicious domains): 9.9.9.9
To change it on Windows: Settings → Network & Internet → Wi-Fi (or Ethernet) → your connection → DNS server assignment → Edit → Manual → turn on IPv4 and enter the addresses. On macOS: System Settings → Network → your connection → Details → DNS → add the addresses.
Router and Network-Level Causes
If changing DNS on your device doesn't work, the problem may be in your router or your ISP's network. Routers have their own DNS settings that override device settings, and some routers have parental controls or firewall features that block specific categories of sites.
- Restart your router. Unplug it for 30 seconds, plug it back in, and wait for it to fully boot. This clears the router's DNS cache and re-establishes the connection.
- Log into your router's admin panel (usually at 192.168.1.1 or 192.168.0.1) and look for DNS settings under WAN or Internet. Change them to 8.8.8.8 and 1.1.1.1.
- Check parental controls or content filters. Many routers have a feature that blocks categories like "social media" or "gambling." If a site is misclassified, it won't load. Disable these filters temporarily to test.
- Test on another device. If the site fails on your phone, laptop, and smart TV over the same Wi-Fi, the problem is almost certainly the router or ISP, not any single device.
Firewall and Antivirus Interference
Windows Defender Firewall, third-party antivirus suites, and VPN software can block specific websites. These programs maintain their own lists of "unsafe" domains and sometimes flag legitimate sites incorrectly.
- Windows Defender Firewall: Go to Control Panel → Windows Defender Firewall → Allow an app or feature through the firewall. Make sure your browser (Chrome, Edge, Firefox) is checked for both Private and Public networks.
- Third-party antivirus: Open your security suite and look for "web protection," "URL filtering," or "network protection." Temporarily disable these features and reload the site. If it works, add the site to the whitelist.
- VPN software: Some VPNs route traffic through servers that are blocked by certain sites. Disconnect the VPN and try again. If the site loads, switch to a different VPN server location.
When It's the Site Itself
Not every problem is on your end. Websites go down for maintenance, get overloaded, or are blocked in your country or region. A site might work for some users but not others due to hosting issues or regional restrictions.
To check if a site is globally down, use an external service like downforeveryoneorjustme.com or isitdownrightnow.com. These tools check the site from multiple locations and tell you if it's reachable. If the site is up globally but not for you, the problem is local. If it's down globally, wait a few hours—most outages resolve quickly.
For region-blocked content, a VPN can help, but be aware that some streaming services actively block known VPN IP addresses. In that case, try a different VPN server or contact the site's support.
Advanced Troubleshooting: Ping, Traceroute, and Hosts File
If you're comfortable with command-line tools, these can pinpoint exactly where the connection fails.
- Ping the domain. In Command Prompt or Terminal, type
ping example.com. If you get replies, the site is reachable at the network level; the problem is likely in the browser or app. If you get "Request timed out," the site is blocking pings (common) or the network path is broken. - Run traceroute. Type
tracert example.com(Windows) ortraceroute example.com(Mac/Linux). This shows every hop between you and the site. If the trace stops at a specific IP, that server is likely the problem—either it's down or it's blocking you. - Check the hosts file. On Windows, the hosts file is at
C:\Windows\System32\drivers\etc\hosts. On Mac/Linux, it's at/etc/hosts. Open it in a text editor and look for any lines that point a domain to 127.0.0.1 or another IP. Malware or a previous manual edit can block sites this way. Delete any lines you didn't add intentionally.
Frequently Asked Questions
Why does a site work on my phone but not my computer?
Different devices use different DNS servers and may have different cached data. Your phone might be on mobile data while your computer is on Wi-Fi, or your computer has a corrupted DNS cache. Clear the cache on the computer and try a private window.
Can my ISP block certain websites?
Yes, some ISPs block sites for legal or policy reasons, and they can also have DNS issues that make specific sites unreachable. Changing your DNS to a public server like 8.8.8.8 often bypasses ISP-level DNS blocks, but not deep packet inspection that filters by IP address.
What does DNS_PROBE_FINISHED_NXDOMAIN mean?
It means the DNS server couldn't find an IP address for the domain you typed. This usually means the domain doesn't exist, or your DNS cache has a stale entry. Flush your DNS cache and try again. If it persists, the site may have expired its domain.
Why does clearing my browser cache fix some sites?
Your browser stores a local copy of websites to speed up loading. If that cached version is corrupted or outdated, the browser may try to load it and fail. Clearing the cache forces the browser to fetch a fresh copy from the server.
Should I reset my router to factory settings?
Only as a last resort. A factory reset clears all your custom settings, including Wi-Fi passwords and port forwards. Before doing that, try changing DNS, disabling parental controls, and restarting the router. If the problem persists across all devices and after a full router restart, a factory reset may help, but you'll need to reconfigure everything afterward.