explorelesno.blogg.se

How to block all websites except a few
How to block all websites except a few






how to block all websites except a few

The first thing you need to do is find your router’s IP address so you can access the settings. Many routers use 192.168.1.1 as their default IP address, but that’s not always the case, so you’d need to confirm their address. If your router has a feature for blocking websites on your network, you can use it to block websites in Chrome and other browsers. Actually, it’ll also block the sites on any wifi-connected device, including tablets and mobile phones as well.

how to block all websites except a few

Blocking Websites Using Your Router (Mac & Windows) To make sure all changes have been implemented, you may need to flush your DNS cache.

how to block all websites except a few

Then, move your cursor to the last line and add all websites you’d like to block following this structure: 127.0.0.1 Once you’ve added all websites, save your edits and exit the file. Open your terminal and type the following command: sudo nano /etc/hosts You won’t even be able to start loading the page.įor macOS users, things aren’t much different. If you’ve done everything right, you shouldn’t be able to access any website on the list from any browser.








How to block all websites except a few