What blocking a website means

Blocking a website means preventing your device from loading it. When you block a site, your browser or device stops the connection before the page appears — you see an error message instead. The blocked site cannot load ads, track your activity, or distract you, even if you try to visit it.

Blocking works differently depending on where you set it up. You can block sites in your browser (Chrome, Firefox, Safari), at the device level (Windows, Mac, iPhone, Android), or at your network level (through your router or internet provider). Each method blocks sites in different ways and for different reasons.

Key Takeaways

  • Browser extensions like uBlock Origin and Freedom block sites by intercepting the connection before the page loads, and you can add or remove sites from the block list anytime.
  • Device-level blocking through parental controls or built-in settings blocks sites for all browsers and apps on that device, making it harder to bypass.
  • Router-level blocking affects every device on your network and requires access to your router's admin panel, usually through a web address like 192.168.1.1.
  • DNS blocking redirects requests to blocked sites before they reach your device, and works across all browsers and apps without installing software.
  • Blocking sites for productivity is different from blocking them for safety — productivity tools let you unblock quickly, while parental controls require a password to override.

Browser extensions that block websites

The easiest way to block sites is through a browser extension. Extensions like uBlock Origin, Freedom, and Cold Turkey sit in your browser and stop pages from loading. You add the site to a block list, and the next time you try to visit it, you see a message instead of the page.

Browser blocking works only in that browser. If you use Chrome and block Reddit there, you can still visit Reddit in Firefox. You also control the block list yourself — you can add sites anytime and remove them just as easily. This makes browser blocking good for productivity (blocking distracting sites during work hours) but not for parental controls, where you need to prevent someone else from removing sites from the list.

To block a site in most browsers, you install the extension from the Chrome Web Store or Firefox Add-ons, open it, and add the URL. Some extensions let you set schedules (block the site only during work hours) or add exceptions (block the site except on weekends). Others block by keyword, so you can block all sites with "social media" in the name.

Device-level blocking through parental controls

If you need to block sites for someone else — a child, for example — device-level blocking is stronger because it works across all browsers and apps. On Windows, you use Family Safety. On Mac, you use Screen Time. On iPhone, you use Screen Time in Settings. On Android, you use Family Link.

These tools let you create a list of blocked sites and require a password to change it. Someone using the device cannot straightforward switch to a different browser to get around the block. They also cannot uninstall the blocking tool without the password.

To set up device-level blocking on Windows, go to Settings > Accounts > Family & other people, add a child account, then sign in to their account and go to Settings > Accounts > Family & other people > Manage family settings online. On Mac, go to System Settings > General > Parental Controls, select the user, and set content restrictions. The process is similar on iPhone and Android, though the exact steps differ.

Router-level blocking for your whole network

If you want to block sites for every device on your home network — phones, tablets, computers, smart TVs — you can block them at the router level. This stops the connection before it leaves your home network, so no device can reach the blocked site no matter which browser they use.

To block sites at the router level, you log into your router's admin panel. The address is usually 192.168.1.1 or 192.168.0.1 (check your router's label or manual). You enter the router's username and password (often "admin" and "admin" or "admin" and the router's serial number), then look for a section called "Parental Controls," "Content Filtering," or "Access Control." You add the site's address to the blocked list.

Router blocking is powerful but has limits. It blocks by domain name, so blocking "youtube.com" blocks all of YouTube, not just certain videos. It also requires you to remember the router's password — if you forget it, you may have to reset the entire router. Some routers let you schedule blocks (block sites only at night) or set different rules for different devices.

DNS blocking without installing software

DNS blocking works by changing where your device looks up website addresses. Normally, when you type a web address, your device asks a DNS server (usually your internet provider's) where that address is located. A DNS blocking service intercepts that request and sends your device to a different address — usually an error page — instead.

Common DNS blocking services include OpenDNS, Cloudflare for Families, and Quad9. You change your device's DNS settings to point to their servers instead of your internet provider's. On Windows, go to Settings > Network & Internet > WiFi > Manage known networks > Properties > DNS server settings. On Mac, go to System Settings > Network > WiFi > Details > DNS. On iPhone, go to Settings > WiFi > (your network) > Configure DNS > Manual. On Android, go to Settings > WiFi > (your network) > Advanced > DNS.

DNS blocking works across all browsers and apps on that device, and you do not have to install anything. The downside is that it is harder to change — you have to go back into network settings to switch DNS services or add exceptions. It also blocks at the domain level, so you cannot block just one page on a site.

Blocking sites to stay focused versus blocking for safety

The method you choose depends on why you are blocking. If you are blocking sites to stay focused during work — blocking Twitter, Reddit, YouTube — you want something you can turn off quickly if you need to. Browser extensions are best for this because you can disable them in seconds.

If you are blocking sites for safety — protecting a child from adult content, for example — you want something harder to bypass. Device-level parental controls or router blocking are better because they require a password to remove. Someone cannot just uninstall an extension or switch browsers.

If you are blocking sites across your whole household, router blocking or DNS blocking affects everyone at once. If you are blocking sites just for yourself, a browser extension is simpler and faster to set up.

What happens when you try to visit a blocked site

When you try to visit a blocked site, you see an error page instead of the website. The exact message depends on where the block is set. A browser extension usually shows a message like "This site is blocked" with a button to unblock it (if you have permission). Device-level parental controls show a message saying the site is restricted. Router blocking usually shows a generic error like "This page cannot be displayed." DNS blocking shows an error page from the DNS service.

None of these messages mean the site is down or your internet is broken — they mean the block is working. The site is still online; your device is just not allowed to reach it.

Frequently Asked Questions

Can someone bypass a blocked site by using a VPN?

It depends on where the block is set. A VPN can bypass browser extension blocks and DNS blocks because it routes traffic through a different server. But a VPN cannot bypass device-level parental controls or router blocks — those stop the connection at the device or network level, before the VPN even starts. If you are using parental controls, you can also block VPN apps themselves.

What is the difference between blocking a site and uninstalling an app?

Blocking a site prevents you from visiting it in a browser, but the app can still work if it is installed. For example, you can block Facebook.com in your browser but still use the Facebook app on your phone. If you want to prevent someone from using Facebook entirely, you have to block both the website and uninstall the app, or use device-level controls that restrict the app itself.

Can I block a site on my phone but not on my computer?

Yes. Browser extensions block only in that browser, so you can block a site in Chrome on your phone but visit it in Safari. Device-level blocking (like Screen Time on iPhone) blocks on that device only. Router blocking affects all devices on your network. DNS blocking affects whichever device you changed the DNS settings on. Choose the method based on which devices you want to block.

Do I need a password to block a site?

Not for browser extensions or DNS blocking — you can block sites when ready. Device-level parental controls and router blocking usually let you set a password so someone else cannot remove the blocks. If you are blocking sites for yourself, you do not need a password. If you are blocking for someone else, a password prevents them from unblocking.

What if I block a site by mistake?

You can unblock it the same way you blocked it. In a browser extension, open the extension and remove the site from the list. In device parental controls, go back to the settings and remove it. In router blocking, log into the router and delete it from the blocked list. In DNS blocking, change your DNS settings back or add an exception. The process takes less than a minute.