User Agents

Safari Cannot Open the Page? Fixes & Causes

Safari cannot open the page usually because of a network connection problem, a server-side error, or a corrupted local cache. The message “Safari cannot open the page because the server cannot be found” or “because it could not connect to the server” points to a failure between your device and the website, not necessarily a broken iPhone or Mac.

The exact wording matters. Safari uses several different error messages, and each one narrows down the cause. “Server cannot be found” is a DNS or address problem. “Could not connect to the server” is a timeout or blocked connection. “The page cannot be displayed” often comes from a captive portal or a content blocker. “Not secure” or certificate warnings are separate issues. Reading the full message is the first diagnostic step.

What the Error Messages Actually Mean

Safari does not show a single generic error. It reports what failed in the chain between tapping a link and seeing the page. The common messages break down like this:

  • “Safari cannot open the page because the server cannot be found.” The domain name did not resolve to an IP address. Either the address is mistyped, the site no longer exists, or DNS is failing on your network.
  • “Safari cannot open the page because it could not connect to the server.” The name resolved but the connection timed out or was refused. The server may be down, or a firewall, proxy, or content blocker is interfering.
  • “Safari cannot open the page because the network connection was lost.” Your device dropped Wi-Fi or cellular data mid-request. This is common when moving between networks.
  • “Safari cannot open the page because the address is invalid.” The URL contains characters or a format Safari cannot parse, often from a copied link with hidden spaces.
  • “This connection is not private.” A certificate problem. The site’s HTTPS certificate is expired, mismatched, or intercepted by a network.

Each of these has a different fix, which is why the same advice (“turn it off and on again”) does not always work.

Check the Network First

Most “cannot open the page” errors are network-level. Before changing any Safari setting, confirm the device has a working connection to the internet at all. Open a different website or use a search engine. If nothing loads, the problem is the network, not Safari.

  1. Toggle Airplane Mode on and off on iPhone or iPad to reset the radios.
  2. Switch between Wi-Fi and cellular data to see whether the error follows the network.
  3. Forget and rejoin the Wi-Fi network, re-entering the password.
  4. Restart the router if other devices on the same network also fail.
  5. On a Mac, check the Wi-Fi menu for a warning icon or a “Self-Assigned IP” status, which indicates a DHCP failure.

If other sites load but one specific site does not, the problem is with that site or its DNS record, not your device. Waiting and retrying later is often the only fix.

DNS and Address Problems

The “server cannot be found” message is almost always a DNS issue. DNS translates a domain name like example.com into an IP address. If the lookup fails, Safari has nowhere to connect. Causes include a mistyped URL, a domain that has expired, or a DNS server that is unreachable.

On iPhone and iPad, DNS is usually set automatically by the Wi-Fi network. You can check it under Settings > Wi-Fi > the network’s info button > Configure DNS. If it is set to Manual with an address that no longer works, switching to Automatic restores the network’s default. On a Mac, the same setting lives in System Settings > Network > Wi-Fi > Details > DNS.

A common misconception is that clearing Safari’s cache fixes DNS errors. It does not. Cache clearing helps with stale or corrupted page data, but it cannot repair a name resolution failure. Matching the fix to the message saves time.

Clear Safari Data and Check Content Blockers

If the page partially loads, loads outdated content, or fails only on certain sites, local data may be the cause. Safari stores cache, cookies, and website data to speed up loading. Corrupted entries can produce errors that look like server problems.

On iPhone or iPad: Settings > Safari > Clear History and Website Data. On a Mac: Safari > Settings > Privacy > Manage Website Data, or Safari > Clear History. Menu labels vary by version, so look for the closest match.

Content blockers and extensions are another frequent culprit. An aggressive blocker can prevent a page’s scripts or resources from loading, and Safari may report a connection failure. Test by disabling content blockers for the affected site: tap the “aA” icon in the address bar and choose the website settings, or turn off extensions in Safari settings. If the page loads with blockers off, adjust the blocker’s rules rather than removing it entirely.

Private Relay, VPNs, and Captive Portals

iCloud Private Relay, when enabled, routes Safari traffic through relay servers. In rare cases a site may reject relay traffic or a network may block it, producing connection errors. Turning Private Relay off temporarily for that network is a legitimate diagnostic step; it is a privacy feature, not a workaround for access restrictions.

Captive portals are a separate trap. Hotel, airport, and café Wi-Fi networks require you to sign in on a portal page before general browsing works. Until you complete that sign-in, Safari shows connection errors for every site. Opening a plain HTTP page or the network’s sign-in page usually triggers the portal. If the portal does not appear, forget the network and rejoin it.

Note that bypassing network filters, paywalls, or parental controls is not an appropriate fix and is outside the scope of normal troubleshooting. If a network administrator has blocked a site, the block is intentional.

Server-Side and Site-Specific Causes

Sometimes Safari is fine and the website is not. A server that is down, overloaded, or misconfigured returns errors that Safari surfaces as “cannot open the page.” Signs that the problem is server-side:

  • The site fails on every device and every browser on the same network.
  • Other websites load normally.
  • The error appears only for one domain, including its subpages.
  • The site worked earlier the same day and now does not.

In these cases, retrying later, checking the site from a different network, or contacting the site owner is the realistic path. No local setting will fix a server that is offline.

Frequently Asked Questions

Why does Safari say it cannot open the page when other apps work?

Other apps may use different network paths or cached data. Safari relies on DNS and direct HTTP connections, so a DNS failure or a content blocker affecting only Safari can produce errors while other apps continue to work. Check Safari-specific settings such as content blockers and Private Relay.

Does clearing history fix “server cannot be found”?

No. That message is a DNS resolution failure. Clearing history and website data helps with stale or corrupted page content, but it does not repair name resolution. Check the URL, the network’s DNS settings, and whether the site is reachable from another device.

Why does the error appear only on one website?

A single-site failure usually means the site’s server is down, its domain has expired, or its DNS record is broken. It can also mean a content blocker or network filter is blocking that domain. Test the site on another network and with blockers disabled to narrow it down.

Can a wrong date and time cause Safari errors?

Yes, indirectly. HTTPS certificates are validated against the device clock. If the date or time is far off, Safari may reject a valid certificate and show a security warning or connection failure. Setting the date and time to automatic resolves this.

What should I do if the error persists after restarting?

Work through the layers: confirm the network, check DNS settings, disable content blockers for the site, clear Safari data, and test the site on another device. If only one site fails everywhere, the issue is server-side and retrying later is the practical option.

Is “not secure” the same as “cannot open the page”?

No. “Not secure” is a certificate warning shown when a site’s HTTPS setup is invalid. “Cannot open the page” is a connection or resolution failure. The fixes differ: certificate warnings may require checking the device clock or contacting the site owner, while connection errors point to network or DNS problems.