You are sitting at your laptop, you see an icon for connecting to Wi-Fi or a cable - everything is in order, but not a single site opens. Pages take forever to load, the browser gives errors like ERR_NAME_NOT_RESOLVED or DNS_PROBE_FINISHED_NXDOMAIN, and instant messengers and online games work without problems. Is the situation familiar? This is one of the most common network problems faced by users. Windows 10/11, macOS and even Linux.

In 80% of cases, problems on the provider’s side or incorrect settings are to blame DNS, but sometimes the root of evil lies deeper: from the infected hosts files to hardware failures of the network card. In this article we will look at all possible reasons why the laptop does not open sites when the Internet is working, - from banal to exotic, - and we will give step-by-step instructions for eliminating each. You don’t need to be an IT specialist: follow the diagnostic logic and you will find a solution in 10–30 minutes.

1. Checking the basic reasons: there is Internet, but the sites do not load

Before you dig deep, make sure the problem is not trivial. Start with the simplest:

  • 🔄 Reboot your router and laptop. Unplug the router for 30 seconds, then plug it back in. Rebooting the device often clears temporary glitches DHCP or NAT.
  • 🌐 Check other devices. Do websites open on a smartphone, tablet, or a second computer connected to the same network? If yes, the problem is in the laptop. If not, the router or provider is to blame.
  • 🔗 Connection test. Launch command line (Win + R → cmd) and enter:
    ping 8.8.8.8

    If packets leave and return (no losses) - the Internet is working, but there is a problem with domain name resolution (DNS). If packets are lost, the network is unstable.

If ping is successful, but the sites still do not open, go to the next section. If packets are lost, check the physical connection (cable, Wi-Fi) or contact your provider.

📊 What doesn't work for you?
  • Browser only (sites)
  • All programs except instant messengers
  • Internet is completely absent
  • I don't know, haven't checked

2. DNS failures: why the browser does not find website addresses

DNS (Domain Name System) is a system that resolves domain names (for example, google.com) to IP addresses (for example, 142.250.186.46). If DNS is down, the browser doesn't know where to send the request and throws an error. This is the most common reason why sites do not open when the Internet is working.

How to check and fix:

  1. Change DNS server manually:
    • 🖥️ Windows: Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings. Right-click on your connection (Wi-Fi or Ethernet), select Properties → IP version 4 (TCP/IPv4) → Properties. Check the box Use the following DNS server addresses and enter:
      8.8.8.8
      

      8.8.4.4

      (this is Google's DNS). Click OK.

    • 🍎 macOS: System settings → Network → Select connection → DNS. Add the same addresses.
  2. Clear DNS cache:
    • 🖥️ Windows: Run Command Prompt as Administrator and type:
      ipconfig /flushdns
    • 🍎 macOS:
      sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

If the sites started working after changing the DNS, the problem was in your provider’s servers. If not, move on.

Change DNS to 8.8.8.8/8.8.4.4

Clear DNS cache

Reboot the router

Check the hosts file (see next section)-->

3. Viruses and changes in the hosts file: hidden blocking

File hosts is a local database that can redirect requests to sites to other IP addresses. Viruses often edit it to block access to antivirus programs, social networks, or redirect to phishing pages. If sites do not open only on your laptop, but everything is fine on other devices, check hosts.

How to find and fix:

  • 🖥️ Windows:
    1. Open the file along the path C:\Windows\System32\drivers\etc\hosts (Administrator rights required).
    2. Remove all lines except:
      # Copyright (c) 1993-2009 Microsoft Corp.
      

      #

      # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

      #

      # space.

      #

      # lines or following the machine name denoted by a '#' symbol.

      #

      # For example:

      #

      # 127.0.0.1 localhost

      # ::1 localhost

  • 🍎 macOS/Linux: the file is located along the path /etc/hosts. Open it via terminal with the command:
    sudo nano /etc/hosts

    and delete suspicious entries.

  • After editing, save the file and restart your laptop. If access to the sites is restored, the problem was a virus or manual edits hosts.

    What do malicious hosts entries look like?

    Example of an infected file:

    127.0.0.1 facebook.com

    127.0.0.1 vk.com

    93.184.216.34 google.com # Redirect to another IP

    Such strings block access to sites or send you to fake pages.

    4. Problems with the browser: cache, extensions, settings

    Sometimes sites do not open in only one browser (for example, Chrome or Firefox), and in the other (Edge, Opera) - everything works. This is a signal about a failure in the program settings. Here's what to check:

    • 🧹 Clearing cache and cookies:
      • B Chrome: Settings → Privacy and Security → Clear history. Select All the time and mark Cookies And Cached Images.
      • B Firefox: Settings → Privacy and security → Cookies and site data → Clear data.
    • 🔧 Disabling extensions. Some plugins (such as VPNs or ad blockers) can block sites from loading. Launch your browser in incognito mode (extensions are disabled there) or disable them manually.
    • 🔄 Resetting your browser settings. B Chrome: Settings → Restore settings and clear → Restore settings to original.
    • If after these steps the sites started working, the problem was in the browser. If not, try installing a different browser (for example, Brave or Safari) and check the work in it.

      💡

      To quickly check if your browser is at fault, try opening the site via guest mode (in Chrome) or private mode (in Firefox/Safari). If the site opens, the problem is in your browser profile.

      5. Proxy and VPN settings: why the Internet “goes nowhere”

      If configured on the laptop proxy server or VPN, all traffic can be redirected through external nodes. If these servers are unavailable or blocked, sites will not open, although the Internet icon will be lit.

      How to check and disable:

      • 🖥️ Windows:
        1. Open Settings → Network and Internet → Proxy.
        2. Make sure the switch Use a proxy server off.
        3. If the VPN is installed as a program (for example, NordVPN or ProtonVPN), disable it via the system tray.
      • 🍎 macOS:
        1. Go to System Settings → Network → Advanced → Proxy.
        2. Uncheck all the checkboxes in the list of protocols.

      If you did not configure the proxy yourself, but it is enabled, this is a sign of virus activity. Perform a full system scan with an antivirus (for example, Kaspersky Virus Removal Tool or Malwarebytes).

      💡

      If sites do not open only when connected to a corporate or school network (for example, in an office or university), the problem may be proxy policies. Contact your network administrator.

      6. Network settings failures: resetting TCP/IP and Winsock

      If the previous steps did not help, the problem may lie in damaged network protocols TCP/IP or Winsock (in Windows). This happens after incorrect updates, viruses, or manual editing of the registry.

      How to reset settings:

      1. Open a command prompt on behalf of administrator (Win + X → Command Prompt (Administrator)).
      2. Run the commands in order:
        netsh int ip reset
        

        netsh winsock reset

        ipconfig /flushdns

        ipconfig /registerdns

      3. Restart your laptop.

      These commands will return the network settings to factory settings. After reboot, check access to sites. If the problem persists, proceed to the next section.

      Team What does When to use
      netsh int ip reset Resets TCP/IP and IPv4/IPv6 stacks After viruses or update failures
      netsh winsock reset Restores the Winsock directory If sites do not open, but ping works
      ipconfig /flushdns Clears DNS cache After changing DNS or editing hosts

      7. Hardware problems: drivers and network card

      If none of the previous methods worked, the problem may be at the level iron or drivers. Here's what to check:

      • 🔌 Network card driver:
        1. Open Device Manager (Win + X → Device Manager).
        2. Expand the tab Network adapters.
        3. If near your network card (for example, Intel Wi-Fi 6 or Realtek PCIe GbE) exclamation mark is on - the driver is not working correctly.
        4. Right click → Update driver or Remove device (after uninstalling, reboot the laptop - the system will install the driver automatically).
    • 🔧 Driver rollback. If problems started after updating Windows, try rolling back the network card driver to a previous version.
    • 💻 Testing on another device. Connect another laptop or smartphone to the router. If the Internet works, the problem is with your device.

    If the network card is physically damaged (for example, after dropping the laptop), it may need to be replaced. In this case, contact the service center.

    💡

    If you have a laptop with two network adapters (Wi-Fi and Ethernet), try connecting via cable if you previously used Wi-Fi, and vice versa. This will help localize the problem.

    8. Blocking at the provider or router level

    Sometimes access to sites is blocked not on the laptop, but at the router or provider. It could be:

    • 🚫 Parental Controls (configured on the router or provider).
    • 🛡️ Traffic filtering (for example, blocking social networks in corporate networks).
    • 📵 MAC address restrictions (the router distributes the Internet only to certain devices).
    • How to check:

      1. Go to your router settings (usually at 192.168.0.1 or 192.168.1.1, login/password - on a sticker on the device).
      2. Check the sections Parental Control, Firewall or Access Control.
      3. If you find any blockages, disable them or add your laptop to the list of allowed devices.

      If the router does not block sites, but the problem remains, contact your provider. There may be restrictions on your tariff (for example, blocking Torrent or foreign resources).

      💡

      If sites do not open only at certain times (for example, in the evening), the problem may be provider channel overload. Call support and find out if technical work is underway.

      FAQ: Frequently asked questions about problems opening websites

      ❓ Why do some sites open and some don’t?

      This is a typical sign of problems with DNS or blocking at the router/provider level. The sites that open are most likely cached in your browser or using a different DNS server. Try changing DNS to 8.8.8.8 or 1.1.1.1 (Cloudflare).

      ❓ Why did websites stop opening after connecting to the VPN?

      A VPN can redirect your traffic through servers that are blocked or overloaded. Try:

      • Change VPN server (choose a country with less load).
      • Disable VPN and check if sites work without it.
      • Check your settings Kill Switch in VPN - if it is enabled, if the connection to the VPN is lost, the Internet may be completely disconnected.
      ❓ Why don’t websites open in only one browser?

      Most likely the problem is cache, extensions or proxy settings this browser. Try:

      1. Clear cache and cookies.
      2. Disable all extensions.
      3. Reset your browser settings to factory defaults.
      4. Check the proxy settings in the browser (in Chrome: Settings → System → Proxy settings).
      ❓ Why did websites stop opening after updating Windows?

      Windows updates sometimes reset network settings or install incompatible drivers. Try:

      • Roll back the network card driver.
      • Perform a TCP/IP reset (commands netsh int ip reset And netsh winsock reset).
      • Check if it is turned on windows defender in strict filtering mode (open Windows Security → Firewall and Network Protection).
      ❓ Why do websites open on a phone, but not on a laptop?

      This means the problem local - at the laptop level. Check:

      • DNS and proxy settings.
      • File hosts.
      • Network card drivers.
      • Antivirus or firewall (they may block access).

      Also try connecting your laptop to a different network (for example, via a mobile hotspot from your phone). If the sites work, the problem is with the router or provider.

      If none of the suggested methods help, the problem may be unique. Describe it in as much detail as possible (what OS, what errors the browser gives, whether other devices work on this network) and refer to specialized forums, for example, Stack Overflow or Microsoft Answers.