sodcalculator

10 Tech How-To

Fix Safari Can’t Find Server on Mac

Guide 10-21374 · Updated · Step by step

If Safari on your Mac shows “Can’t Find Server”, the first thing to try is reloading the page, then checking your internet connection and DNS settings. This error means Safari cannot reach the website’s server, which is usually caused by a network issue, a wrong URL, or a temporary server problem. Below are the most effective fixes, from quick checks to deeper system-level solutions.

What “Can’t Find Server” Actually Means

Safari displays this error when it cannot establish a connection to the server that hosts the website you’re trying to visit. This is different from a “server not responding” error, which means the server exists but is not responding in time. “Can’t find server” typically indicates a DNS resolution failure, a network connectivity problem, or that the URL itself is incorrect or the site is down. Understanding this distinction helps you target the right fix.

Quick Checks Before You Troubleshoot

Start with the simplest possibilities, as they often solve the issue instantly:

  • Check if other websites load in Safari. If only one site fails, the problem is likely with that site or its DNS records.
  • Try a different browser (Chrome, Firefox). If it works there, the issue is Safari-specific.
  • Restart your Mac and your router. This clears temporary network glitches and DNS caches.
  • Verify the URL. A typo like “www.example.com” vs “example.com” can cause a failure.
  • Check if you’re using a VPN or proxy. Turn it off temporarily to see if it’s blocking the connection.

Fix 1: Check Your Internet Connection

If Safari can’t find any server, your Mac may not have a working internet connection. Open System Settings (or System Preferences on older macOS) and go to Network. Look for a green indicator next to Wi-Fi or Ethernet. If it’s red or yellow, your connection is down. Try turning Wi-Fi off and on again, or reconnecting to your network. If you’re on Ethernet, check the cable. Also, try pinging a known server: open Terminal and type ping 8.8.8.8. If you get replies, your internet is working; if not, the issue is with your network hardware or ISP.

Fix 2: Reset DNS Cache and Change DNS Servers

DNS (Domain Name System) translates domain names into IP addresses. If your Mac’s DNS cache is corrupted or your ISP’s DNS is slow, Safari may fail to find servers. First, clear the DNS cache. On macOS Ventura and later, open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On older macOS versions, use sudo killall -HUP mDNSResponder alone. If the problem persists, change your DNS servers to a public one like Google (8.8.8.8 and 8.8.4.4) or Cloudflare (1.1.1.1). Go to System Settings > Network > your connection > Details > DNS, and add those addresses. This often resolves DNS-related “can’t find server” errors.

Fix 3: Disable Safari Extensions and Clear Cache

Safari extensions can interfere with page loading, especially ad blockers or privacy tools. To test, go to Safari > Settings > Extensions and uncheck all extensions. Reload the page. If it works, re-enable extensions one by one to find the culprit. Also, clear Safari’s cache: Safari > Settings > Privacy > Manage Website Data, then Remove All. This will log you out of some sites, but it can fix corrupted cache files that cause loading errors. You can also try a private window (File > New Private Window) to see if the issue is related to cookies or cached content.

Fix 4: Check macOS Network Settings and Firewall

Your Mac’s firewall or network settings might be blocking Safari. Go to System Settings > Network > Firewall. If it’s on, click Options and ensure Safari is allowed to accept incoming connections. Also, check if you have a proxy configured incorrectly: System Settings > Network > your connection > Details > Proxies. If “Proxy Configuration” is set to “Auto” or “Manual” and you’re not using a proxy, turn it off. Additionally, reset the network settings entirely by going to System Settings > Network > your connection > Details > TCP/IP and clicking “Renew DHCP Lease.” This can refresh your IP address and fix routing issues.

Fix 5: Update macOS and Safari

Outdated software can have bugs that cause connection errors. Go to System Settings > General > Software Update to install any pending macOS updates. Safari updates are included in macOS updates. After updating, restart your Mac. If the problem started after a recent update, you might need to check for a newer update that fixes the regression. Also, ensure your Mac’s date and time are correct (System Settings > General > Date & Time) – an incorrect date can cause SSL certificate errors that appear as “can’t find server.”

Frequently Asked Questions

Why does Safari say “Can’t find server” but other browsers work?

If other browsers work, the issue is Safari-specific. This could be due to Safari extensions, cache corruption, or a Safari setting like “Block All Cookies” or a content blocker. Try the extension and cache clearing steps above. Also, check Safari’s website settings (Safari > Settings > Websites) for any specific settings for the site you’re trying to access.

How do I clear DNS cache on Mac?

Open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder (for macOS Ventura and later). For older macOS, use sudo killall -HUP mDNSResponder. You’ll need to enter your admin password. This clears the DNS cache and forces your Mac to re-query DNS servers.

Can a VPN cause “Can’t find server” in Safari?

Yes, VPNs can interfere with DNS resolution and routing. If you’re using a VPN, disconnect it and try loading the page. If it works, the VPN is the problem. You may need to change VPN servers or adjust its DNS settings. Some VPNs have a “DNS leak protection” feature that can cause issues; try toggling it.

What if the website itself is down?

If only one specific site fails, it might be down. You can check using a service like Down For Everyone Or Just Me (downforeveryoneorjustme.com) or try accessing it from another device. If the site is down, you’ll need to wait until it’s back online. There’s nothing you can do from your Mac.

How do I reset Safari without losing bookmarks?

To reset Safari, go to Safari > Settings > Privacy > Manage Website Data, and remove all data. This clears cache and cookies but keeps bookmarks and history. For a deeper reset, you can also go to Safari > Settings > Advanced and check “Show Develop menu.” Then, in the Develop menu, select “Empty Caches.” This often resolves persistent issues without affecting your bookmarks.

Why does Safari only fail on certain Wi-Fi networks?

This usually indicates a network configuration issue, such as a router that blocks certain DNS requests or has a faulty DNS cache. Try changing your DNS servers to a public one as described above. Also, check if the network has a captive portal (e.g., hotel Wi-Fi) that requires you to log in; Safari might not automatically open the login page. Try visiting a non-HTTPS site like http://neverssl.com to trigger the portal.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →