How to Block Some Websites from Opening on Your Computer.

First, bring out the Run dialog box by Clicking start, type run, hit enter.
Or if you like using shortcuts which are a good habit, simply hold the windows key + letter R and voila, the Run box appears.
Type in this code %windir%\system32\drivers\etc  in the Run box and hit the Enter key.
What this does is that it 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.
It is in this Host file that you are going to tell your computer not to visit a site.
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.
In other to have full access to this file, Click Start and search for notepad, right click on Notepad and select Run as administrator.
Look at the taskbar on notepad click on File>Open>This Pc>Local Disk C:>Windows>system32>driver>etc
When you get to this etc folder, at the bottom of notepad open box change the Text Documents drop down box to All Files.
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.

Comments