Do you use your computer with others? Do you have PC in home where your children’s also use same PC?

Well in that case you may want to block some websites which may not be suitable or you don’t want to be opened by others or may harm your PC.

So if you also wanna block certain sites then you can use your HOST file found in your SYSTEM32 folder.

Ok here we go :-

  • Open any text editor like Notepad, As Administrator, I am using Notepad++,
  • Now navigate to %windir%System32driversetc and drag and drop your Host file into text editor,
  • Your default host file may look like this :-

Default_Host_File_In_Windows

  • Now if you wanna abc.com from your site then at the end of file put :-

127.0.0.1    abc.com

  • Repeat this step and type all websites url which you wanna block like :-

Host_File_In_Windows_With_Blocked_Sites

  • That’s web sites will be blocked after a restart
  • Enjoy.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.