At first Open “Run” from the start menu or press WinKey + R. Just copy paste the following path and press ENTER.
Go to C:\Windows\System32\Drivers\Etc and find the file “hosts”. Then open with notepad file.
Opening hosts file
When this hosts file is opened in Notepad, at the end of the file you will see something like “127.0.0.1 localhost”.
Under “127.0.0.1 localhost” just add another website URL that you want to block.
Make sure every time you add another website, the last digit of the address 127.0.0.x should not be the same.
Save the file and exit.
So, here you go. Restart your browser if it is opened and changes will take place immediately.
The good thing is that no message, no pop ups nothing will be displayed when someone tries to open a blocked website. Your browser will just fail to open those websites without any error messages.
Hope you really enjoy it !!