There are many reasons to block certain sites. Pre-compiled lists can help you to block insecure sites and enhance your PC security.

Why Blocking Sites Is A Good Idea

The need to block websites is required in order to prevent misuse of the Internet in both home and office environment. Employers who want to enhance the productivity and prevent misuse of time and resources or parents who want to protect their children from mature content on the Internet.

Click here to join Ultra.io - Rare NFTs and Play-to-Earn Games or Read my review first!

Another reason is that some sites may lower your productivity and you can use the hosts file to block it temporarily.

Yet another reason could be that you want to block a site for safety reasons. There are some lists available for download that can block malware sites. Download a pre-compiled list here

Step By Step

1. Step Open the Start Menu and click on Computer. In Computer navigate to C:/Windows.

computer C:

2. Step Inside C:/Windows open system32 folder.

system32

3. Step In system32 folder open the folder drivers.

drivers

4. Step Inside drivers open etc.

etc

5. Step Inside the etc locate the file hosts

hosts

6. Step Right Click on hosts file and select Open with Notepad

hosts Notepad

7. Step The following hosts file text will be displayed.

hosts preview

8. Step Now suppose you want to block yahoo.com, then enter following lines in the file.
so write 127.0.0.1 yahoo.com

hosts edit

IMPORTANT: Open a notepad editor with admin rights if you can’t save the hosts file. To do that right-click on the notepad.exe in C:\Windows and click on Run as administrator. Else you can simply enter notepad.exe into the search bar, hold down CTRL + Shift and hit Enter