Fix Safari Cannot Open the Page Because the Server Cannot Be Found
Resolve the 'server cannot be found' error in Apple Safari by flushing DNS and adjusting settings.
Confirmed working on: macOS
Before you begin
Problem overview
Safari fails to load a website, displaying an error that it cannot open the page because the server cannot be found. This means Safari is unable to translate the website’s domain name into an IP address.
Common causes
- A stale or corrupted macOS DNS cache
- Unreliable DNS servers provided by your ISP
- Overly aggressive Content Blockers or extensions
- Local Wi-Fi or router connectivity drops
Solution 1: Flush macOS DNS cache
Clearing your Mac’s DNS cache forces Safari to look up fresh IP addresses for websites.
- Open Terminal (found in Applications > Utilities, or by pressing Cmd + Space and typing Terminal).
- Type the following command and press Return:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder - Enter your Mac administrator password when prompted (the characters will not appear as you type).
- Restart Safari and try loading the page again.
Solution 2: Change DNS servers
Switching to a reliable public DNS service like Cloudflare (1.1.1.1) or Google (8.8.8.8) often bypasses ISP routing issues.
- Open System Settings (or System Preferences) and click Network.
- Select your active network connection (e.g., Wi-Fi) and click Details… (or Advanced).
- Select the DNS tab.
- Click the + button under DNS Servers and add
1.1.1.1and1.0.0.1. - Click OK, then apply the changes.
If you are on a restricted corporate or school network, changing DNS settings might be blocked. Contact your IT administrator if the issue persists.
Solution 3: Disable Content Blockers and extensions
Ad blockers or privacy extensions can malfunction and block legitimate server requests.
- Open Safari and click Safari in the menu bar, then choose Settings (or Preferences).
- Go to the Websites tab.
- Select Content Blockers in the left sidebar.
- Set the dropdown next to the problematic website to Off.
- If the site still fails to load, go to the Extensions tab and temporarily uncheck all extensions to isolate the problem.
Confirm the result
- Repeat the exact action that originally triggered the problem.
- Confirm the original error or symptom is gone and no new warning has appeared.
- If the guide changed a driver, service, package, or system setting, restart once and test again.
- If the result is worse or unexpected, stop. Reverse only the last change using its documented restore option; if none is documented, use your backup or qualified support.
Questions about this fix
Why does this error only happen in Safari?
Safari relies heavily on macOS system-level networking and DNS caches, which can sometimes desynchronize from other browsers.
Are Content Blockers the same as extensions?
Content Blockers are a specific type of Safari extension optimized to block ads and trackers with minimal performance impact.
Did this fix work for you?
Weighted Consensus Protocol
Did this solution resolve your issue?
Confirming if this works strengthens verification statistics on the registry.
FixingTeam10,000 rep
Official Project Maintainers
The core engineering and moderation team behind FixingBook. We curate, verify, and maintain the standards of the troubleshooting ledger.
Discussion (0)
No comments yet. Share your experience or verify if this fixed your issue!
