Website Works on Mobile Data but Not Wi-Fi? 9 Fixes
Website works on mobile data but not Wi-Fi? Find the cause and follow 9 practical fixes for DNS, router, VPN, IPv6, and browser connection issues.

If a website works on mobile data but not Wi-Fi, the difference often comes down to DNS resolution, router settings, network filtering, or how your internet provider reaches that particular website. Your phone may load the page perfectly over 4G or 5G while the same address times out on your home connection.
That does not automatically mean your router is broken—or that the website is completely healthy. Mobile networks and Wi-Fi connections can use different DNS servers, public IP addresses, internet routes, and security policies. A website may therefore respond normally through one connection but fail through another.
Quick answer: Test the website on a second device connected to the same Wi-Fi. If both devices fail, restart your router and investigate DNS, network filters, and your provider’s connection. If only one device fails, check its browser, VPN, proxy, and saved network settings. Change one setting at a time so you can identify what actually resolves the problem.
Write down the exact website address and error message. Confirm that mobile data is genuinely being used during the successful test. If you are on a workplace, school, or managed network, do not change DNS, filtering, or security settings without authorization.
Why Does a Website Load on Mobile Data but Not Wi-Fi?
Connecting to a Wi-Fi network and successfully reaching a website are two different things. A strong wireless signal only confirms that your device can communicate with a nearby access point. It does not prove that every destination on the internet is reachable.
When you enter a website address, several operations must succeed:
- Your device connects to the router and obtains usable network settings.
- A DNS resolver translates the website’s hostname into an IP address.
- Your connection reaches the destination through your router and internet provider.
- The browser establishes a connection, usually protected by HTTPS.
- The website or its security infrastructure accepts the request and returns content.
A failure at any of these stages can prevent the page from loading. Switching to mobile data changes several parts of that process simultaneously, which explains why cellular access alone does not identify the precise cause.
For example, your home router might use your broadband provider’s DNS resolver while your mobile connection uses a completely different one. If the first resolver cannot retrieve the correct address, the website may fail over Wi-Fi despite remaining accessible through cellular data.
Alternatively, DNS may work correctly while your home internet provider experiences a routing problem. A website security system could also reject your home network’s public IP address while accepting the address used by your mobile carrier.
Find the Problem Before Trying Random Fixes
The most efficient troubleshooting method begins with two comparisons: the same website on another device and other websites on the same Wi-Fi. Together, these tests narrow the investigation considerably.
What Your Browser Error Message Reveals
Before restarting equipment or changing DNS, look at the exact browser error. A DNS lookup failure is not the same as a rejected HTTPS connection, and a server-generated error page means something different from a connection timeout.
Browser Error Diagnostic Matrix
| Error or symptom | Possible explanation | Next diagnostic step |
|---|---|---|
| DNS_PROBE_FINISHED_NXDOMAIN | The resolver reports that the hostname does not exist. | Verify spelling and compare DNS answers. |
| ERR_NAME_NOT_RESOLVED | The hostname could not be resolved. | Check configured DNS and filtering. |
| ERR_CONNECTION_TIMED_OUT | The connection did not complete in time. | Investigate routing, filtering, or server reachability. |
| ERR_CONNECTION_REFUSED | The attempted connection was actively rejected. | Check destination service, port, and applicable security rules. |
| 403 Forbidden | A server or security service denied the request. | Check whether the site's owner is blocking your IP or request. |
| Certificate warning | Possible certificate, proxy, interception, or destination mismatch. | Check the device clock and legitimate network configuration. Never bypass the warning blindly. |
Interpretation: These messages are diagnostic clues rather than definitive proof. A misconfigured proxy, browser extension, or security product can sometimes produce misleading symptoms.
9 Fixes When a Website Works on Mobile Data but Not Wi-Fi
1. Confirm the Difference Between Wi-Fi and Mobile Data
Start with a controlled comparison using the same phone, browser, and exact website address.
- Open the website on your normal Wi-Fi connection and record the result.
- Disable Wi-Fi and load the identical URL using mobile data.
- Reconnect to Wi-Fi and temporarily disable cellular data to verify that the browser is not silently switching networks.
- Test the same URL on another device connected to that Wi-Fi.
- Try a second trusted Wi-Fi network if one is available.
The third step matters. Some phones support features that automatically use cellular connectivity when Wi-Fi becomes unreliable. Apple documents this behavior in its 🔗 Wi-Fi Assist guidance.
Also compare the exact hostname. example.com and www.example.com can have different DNS records, redirects, or security configurations. A successful test of one does not necessarily establish that the other works.
If the website fails across every device on your home Wi-Fi but loads through another internet connection, concentrate on settings shared by the home network instead of repeatedly clearing individual browsers.
2. Restart Your Router Without Factory-Resetting It
A router restart can resolve temporary problems involving its DNS forwarding service, WAN connection, or local networking software.
- Save any work that depends on your internet connection.
- Use the router’s normal restart option, or disconnect its power if the manufacturer permits it.
- If you have a separate modem and router, follow the manufacturer’s recommended restart order.
- Allow the internet connection to re-establish before testing the website again.
Microsoft includes restarting networking equipment in its official 🔗 Windows Wi-Fi troubleshooting guidance.
Important distinction: Restarting and factory-resetting are not equivalent. A restart normally retains configuration. A factory reset can erase your Wi-Fi credentials, ISP settings, firewall rules, and other custom options.
Do not factory-reset a router simply because one website is inaccessible. First establish whether the problem involves the router, DNS resolver, or an upstream service.
3. Check Whether DNS Is Causing the Website Failure
DNS is one of the most useful components to investigate when some websites load normally but one specific domain refuses to open.
Suppose your router uses a resolver supplied by your broadband provider. That resolver might return an outdated cached answer, fail to complete a lookup, or apply a filtering policy. Your cellular network may use a different resolver and obtain a successful answer.
However, changing DNS is a diagnostic test, not a universal repair. A correctly resolved hostname can still be unreachable because of routing or server-side restrictions.
◉ Test DNS on Windows
Open Command Prompt and replace example.com with the hostname that is failing:
nslookup example.com
Now query an alternative public resolver directly:
nslookup example.com 1.1.1.1
Microsoft documents this command format in its official 🔗 nslookup reference.
If your normal DNS server fails to resolve the domain while the public resolver succeeds, the configured resolver or its network path deserves closer inspection.
If both return addresses but the browser still times out, investigate connectivity beyond DNS. Different returned IP addresses are not automatically evidence of a fault: content delivery networks can legitimately distribute traffic among multiple destinations.
◉ Flush the Windows DNS Cache
If stale local DNS information is suspected, use:
ipconfig /flushdns
Then close and reopen the browser before retrying the website.
This command clears the Windows DNS client cache. It does not reset DNS caches stored by your router, internet provider, or every application. A browser using its own encrypted DNS resolver may also behave differently from system-level DNS tools.
◉ Temporarily Try Another DNS Resolver
For a controlled test, Cloudflare provides the following standard public DNS addresses:
On Windows 11, open Settings → Network & internet → your active connection → DNS server assignment → Edit. Switch to Manual and configure the supported address settings. Record your previous configuration first.
On macOS, open System Settings → Network → your active connection → Details → DNS. Apple’s 🔗 DNS configuration guide explains this interface.
On iPhone, open Settings → Wi-Fi → the information button beside the connected network → Configure DNS. If you are testing a manual resolver, record the existing settings and restore Automatic afterward if appropriate.
On Android 9 or later, the Private DNS setting supports provider hostnames such as one.one.one.one, rather than requiring a numerical IP address. The setting generally affects both Wi-Fi and cellular connections. See 🔗 Cloudflare’s Android configuration documentation.
Be careful on corporate networks, public hotspots, or networks using special DNS services. Replacing the resolver can interrupt internal hostnames, DNS-based parental controls, or captive-portal authentication. Restore the original settings when the test is complete unless a permanent change is appropriate and authorized.
4. Check VPN, Proxy, and Browser Secure DNS Settings
A VPN can change how your device routes traffic, which public IP address a website sees, and which DNS service handles lookups. A proxy can introduce similar differences.
Some VPN configurations activate automatically on Wi-Fi. Consequently, a website might load through mobile data but fail when the phone joins a trusted or untrusted wireless network.
Try the following on a personally managed device:
- Temporarily disconnect your VPN and retry the affected website.
- Check whether a proxy has been manually configured for the Wi-Fi connection.
- Open the website in another browser.
- Try a private or incognito window to help identify extension or browser-data problems.
- Inspect any custom Secure DNS or DNS-over-HTTPS provider configured inside the browser.
Chrome’s Secure DNS feature can use a custom provider that differs from the operating system’s DNS configuration. Google explains how to inspect it in 🔗 Chrome’s security settings documentation.
A successful incognito test suggests a browser-level difference, but does not prove that cached files are the only cause. Extensions, cookies, sessions, and other settings can behave differently in private browsing.
If temporarily disconnecting a VPN or changing a browser setting restores access, re-enable your protection and examine the specific feature responsible. Avoid permanently weakening security merely to open one page.
5. Inspect Router Filters and Parental Controls
Many modern routers include features that restrict websites or groups of domains. These may be supplied by the router manufacturer, your broadband provider, or a separate DNS filtering service.
Examples include parental controls, malware protection, advertising filters, and customized blocklists. A filtering rule can affect an entire household or only selected devices.
Open the router’s official administration interface and look for features labeled:
- Parental Controls or Family Protection
- Website Blocking or Content Filtering
- Security Protection or Threat Prevention
- DNS Filtering or Custom DNS
- Access Control or Device Profiles
Check whether the affected website is explicitly blocked or accidentally categorized under a restricted group.
If only one phone is affected, inspect the corresponding device profile. Modern phones may use a private or randomized Wi-Fi MAC address, which can influence how device-specific router rules are applied.
Do not disable your entire firewall or security system as a general troubleshooting solution. Prefer inspecting relevant logs, identifying the exact rule, and correcting a verified false positive.
6. Check Public Wi-Fi Login Pages and Network Restrictions
If the issue occurs on hotel, airport, university, library, or café Wi-Fi, a captive portal may be responsible.
A captive portal requires a user to sign in, accept terms, or complete another access step before unrestricted internet connectivity is available.
Your phone can show a connected Wi-Fi symbol even when the network has not granted full internet access. HTTPS websites may fail to load normally because the network is still waiting for authentication.
To investigate:
- Reconnect to the wireless network and look for its official sign-in notification.
- Use the network operator’s documented login page if one is provided.
- Complete only the legitimate authentication process.
- Retry the original website after access has been granted.
Never bypass an unexpected certificate warning to enter a password or payment details. If the sign-in page appears suspicious, ask the network operator to confirm its legitimate address.
Some school and workplace networks also intentionally restrict categories of websites. In those environments, the proper remedy is to request access or clarification from the administrator rather than trying to circumvent network policy.
7. Investigate IPv6 and ISP Routing Problems
DNS is not the only network component that can behave differently between cellular and Wi-Fi connections.
Internet destinations may have both IPv4 and IPv6 addresses. Each protocol uses different addressing, and connectivity can depend on the router, the provider, and the destination’s infrastructure.
For example, a website might publish both an IPv4 A record and an IPv6 AAAA record. Your browser can attempt connections using either address family according to its supported connection-selection behavior.
If one address family has a routing or connectivity problem, the website may become slow or fail on one network while working elsewhere. Modern browsers use techniques intended to reduce the impact of such failures, but not every situation can be resolved automatically.
⬇️ Compare IPv4 and IPv6 DNS Records
On Windows, use:
nslookup -type=A example.com
nslookup -type=AAAA example.com
These commands reveal different address types if records exist. They do not, by themselves, prove that either address is reachable.
For a more targeted investigation, a technician can test IPv4 and IPv6 connectivity separately and compare the routes used to reach the destination.
⚠️ Avoid disabling IPv6 permanently as a shortcut. Doing so can hide a misconfiguration rather than resolve it, and some networks rely on IPv6 or translation technologies for connectivity.
For a more specialized diagnosis, read Noxoric’s 🔗 IPv6 Works but IPv4 Doesn’t? Fix It Step by Step. It explains how to distinguish address assignment, DNS, and routing problems without assuming that disabling one protocol will repair the other.
If only one external website remains unreachable after local tests, report the domain and observed behavior to your ISP. Ask whether there is a known routing or IPv6 reachability issue affecting that destination.
8. Apply Device-Specific Fixes Only When Needed
If another device can open the website on exactly the same Wi-Fi, the failing device becomes the more useful investigation target.
➫ iPhone and iPad
Apple recommends comparing cellular access with another network when Safari cannot load websites. Its official guidance also identifies VPN settings and iCloud Private Relay as possible factors for certain failures.
Start by restarting Safari, checking the website address, and inspecting VPN or Wi-Fi settings. If the problem affects only Safari, try another browser or review Safari’s website data.
For relevant Private Relay troubleshooting, consult 🔗 Apple’s Safari website-loading guidance. Do not disable privacy features permanently without establishing that they caused the problem.
If the failure continues across several networks on the same device, resetting network settings may eventually be appropriate. However, this can remove stored Wi-Fi information and other network configurations, making it a later step rather than the first recommendation.
➫ Android Phones
On Android, start with the affected Wi-Fi network’s details. Check proxy settings, reconnect to the network, and inspect any installed VPN or security applications.
You can search Android Settings for Private DNS and compare its current configuration with the default Automatic option. Google recommends keeping Private DNS enabled where supported; any temporary diagnostic change should be reversed after testing.
If the website fails only in Chrome, try another browser and check Chrome’s Secure DNS configuration before clearing extensive browsing data.
➫ Windows Computers
On Windows 10 or 11, confirm the active connection has a valid IP configuration and default gateway. Then test the hostname with nslookup and clear the local DNS cache only if the evidence points toward a stale resolution issue.
If multiple unrelated websites fail, Windows’ built-in network diagnostic tools can help identify broader connection problems.
Resetting the entire network stack, reinstalling network drivers, or removing network adapters should remain later measures when simpler and better-targeted checks have failed.
➫ Mac Computers
On a Mac, check System Settings → Network, inspect the active connection, and compare DNS settings against the router’s intended configuration.
If the problem affects only Safari, test another browser and inspect extensions or privacy-related networking features. If every browser fails on that Mac but another device works on the same Wi-Fi, concentrate on the Mac’s network configuration and installed software.
9. Check Whether the Website Is Blocking Your Home IP Address
Here is an important possibility that many users overlook: the website may be reachable but unwilling to serve requests coming from your home network’s public IP address.
Websites can use firewalls, content delivery networks, anti-abuse protections, and geographic restrictions to decide which requests to accept.
For instance, a security rule might challenge or block traffic from a particular IP address or network range. Your mobile carrier uses a different internet connection and generally presents a different public IP address, allowing its requests to receive a different response.
A 403 Forbidden page is one possible sign of an access restriction. However, it does not prove that the public IP address has been blocked: authentication rules, server permissions, and other security checks can produce the same status.
Cloudflare explains these distinctions in its 🔗 documentation on 403 errors.
If you see an access-denied page or a recognizable security challenge, record the visible error details and contact the website’s support team. Include the approximate time, the affected URL, and the fact that cellular data works while Wi-Fi does not.
Do not publicly post your home IP address or sensitive session identifiers. Share relevant diagnostic details privately with the website operator when necessary.
Special Case: Your Own Website Works on Mobile Data but Not Home Wi-Fi
If you own or manage the website, the investigation changes. You may be able to inspect server logs, firewall events, DNS records, and the configuration of any reverse proxy or CDN.
First, determine whether the issue affects visitors outside your home. Test from another independent connection rather than relying solely on the phone’s mobile-data result.
If your site is hosted by an external provider, compare the failing home connection with security logs from your hosting platform or CDN. Look for blocked requests, firewall rules, unsuccessful challenges, or unusual responses associated with the affected public IP address.
Also verify that the site’s public DNS records are correct. A recent hosting migration may leave stale DNS records or inconsistent cached responses on particular resolvers.
There is another scenario when the server is hosted inside your own home network.
📌 Local Hosting and NAT Loopback
Some routers do not support NAT loopback, also called NAT hairpinning, for the specific configuration involved.
Consider a website running on a home server. A visitor connecting through mobile data may successfully reach its public address. But a computer on the same home LAN might fail when using that identical public hostname because the router cannot correctly route the connection back to the internal server.
In this situation, the server may be functioning correctly for external visitors.
Possible remedies involve supported NAT loopback settings or appropriately configured split-horizon DNS, where internal devices receive the correct local destination while external visitors use the public one.
This is not a standard explanation for a third-party website hosted elsewhere. It applies specifically to certain self-hosted or internally routed services.
For related home-server networking concepts, see 🔗 Port Forwarding Not Working? Check CGNAT & Fix It. Keep in mind that CGNAT and NAT loopback are distinct issues and should not be treated as interchangeable diagnoses.
Which Troubleshooting Method Is Best? Pros and Cons
No single fix is appropriate for every failure. A useful repair should address the observed cause while minimizing unnecessary changes to the device or network.
Repair Options: Benefits and Limitations
| Method | ✔️ Advantage | ✖️ Limitation |
|---|---|---|
| Second-device test | Helps isolate device-specific failures without changing settings. | Does not identify the precise shared-network cause. |
| Router restart | Can clear temporary router or WAN-related problems. | Interrupts connected devices and may not repair persistent configuration errors. |
| DNS comparison | Helps distinguish name-resolution failures. | Does not establish that the returned server is reachable. |
| Alternative DNS | May restore access when the original resolver is responsible. | Can interfere with private domains, network filtering, or captive portals. |
| VPN or proxy test | Identifies possible application-specific routing or filtering interference. | Temporarily changes privacy or security behavior. |
| ISP or website support | Can investigate upstream routes, policies, and server logs beyond your control. | Requires useful diagnostic evidence and cooperation from the responsible operator. |
Qualitative comparison based on the function and limitations of each diagnostic method, not measured success rates.
Common Mistakes That Can Make the Problem Worse
⚠️ Changing DNS Without Confirming a Resolution Problem
A DNS change cannot repair every connectivity failure. If the browser already reaches the website and receives a 403 response, DNS resolution has generally progressed far enough to reach an HTTP server or intermediary.
Likewise, a failed network route remains a failed route even when the hostname resolves correctly.
⚠️ Assuming a Failed Ping Means the Website Is Offline
Some networks and servers restrict ICMP traffic. As a result, a hostname may fail to respond to ping while the corresponding HTTPS website operates normally.
Use the actual browser result, DNS output, and appropriately selected connection tests together rather than treating ping as conclusive evidence.
⚠️ Opening a Website by Its Raw IP Address
Entering a server IP address directly into your browser is not a reliable substitute for checking its hostname.
Many hosting systems serve multiple websites from shared infrastructure. HTTPS connections also depend on hostname-related information, including certificate validation and server selection. Visiting the raw IP address can therefore fail or show an unexpected website even when the intended domain works.
⚠️ Disabling Firewall Protection Permanently
Turning off all firewall protection can expose your device or network to unnecessary risk. Investigate a specific rule or temporary test condition instead, and restore protection immediately afterward.
⚠️ Performing a Factory Reset Too Early
A factory reset is disproportionate when only one website is affected. It may remove important broadband credentials or specialized network configuration while leaving an ISP routing issue or website-side block completely unchanged.
When Should You Contact Your ISP or the Website Owner?
Contact your broadband provider when several devices on your Wi-Fi reproduce the failure, local checks do not identify a cause, and the same destination works through another independent connection.
Contact the website operator when you receive a recognizable security block or have evidence that a particular source IP or request is being rejected.
For a managed work or school network, contact its administrator rather than the residential ISP.
Provide a concise diagnostic report containing:
- The exact domain or URL that fails.
- The browser error text or HTTP status code.
- The date and approximate time of the failed attempt, including your time zone.
- Whether the failure occurs on one device or multiple devices.
- Whether other websites load correctly on the same Wi-Fi.
- Whether the destination works on mobile data or another independent network.
- The results of DNS comparisons or other relevant tests, if performed.
- Any recent changes to router firmware, VPN software, hosting, or DNS configuration.
This information gives support teams a reproducible scenario. It is much more useful than reporting that the Wi-Fi signal is strong or that the website works somewhere else.
Final Verdict: Fix the Network Layer That Is Actually Failing
When a website works on mobile data but not Wi-Fi, the right solution depends on identifying what changes between those connections.
If only one device fails, focus on its browser and network configuration. If all devices fail to reach one website, investigate shared DNS, filtering, routing, and possible website-side restrictions. If most destinations fail, examine the router’s connection and your internet service provider.
The most reliable approach is systematic: reproduce the problem, compare a second device, record the error, test the likely component, and verify the result before making another change.
Do not mistake a workaround for a diagnosis. Switching to cellular data, changing DNS, or using a VPN may restore temporary access without resolving the underlying issue. A lasting repair should target the actual failing component while preserving your network’s security and intended configuration.
🚀 Explore more practical technology troubleshooting guides and free digital utilities at Noxoric.



