I allow people to access the internet with my laptop. But you noticed that they visit some sites that you don’t like. Like some download sites, Youtube, and other sites that consume much data. You can easily block any site from your computer using this awesome computer trick.
Hold the windows key + letter R, and the Run box appears.
Type in this code %windir%system32driversetc in the Run box and hit the Enter key. This will open the etc folder
This etc folder contains a file called Host and some other files. We are interested in the Host file here.
But getting to the host file through the above step will not give you access to save your settings at the end of the day, I just want you to see the folder before following the right step.
Click Start and search for a notepad, right-click on Notepad and select Run as administrator.
Look at the taskbar on notepad and click on File>Open>This Pc>Local Disk C:>Windows>system32>driver>etc When you get to this etc folder, at the bottom of the notepad open box change the Text Documents drop
Double-click on Host and type the following code at the bottom of the page
127.0.0.2 website you want to block
127.0.0.3 www.website you want to block
127.0.0.4 another website you want to block
127.0.0.5 www.another website you want to block
You can follow the above pattern to add as many websites as you want.