How to block any website from your PC?

How to block any website from your system?  It is very easy to block any website without using any third-party software.

     How to block any website from your system?
 
  • Open Notepad with admin right.

  • Now from notepad go to File, then click on open.


  • Now go to C Drive and open the 'Windows' folder. (I selected C drive because I gave install my os in C drive. So, open your OS drive.)
  • After the opening, the 'Windows' folder now look for the 'System32' folder 



  • And now open the 'Drivers' folder.


  • Then open the 'etc' folder.


  • Now you can see the here etc folder is blank. Don't worry.
  • Now enable All files.


  • And now click on Hosts file and open it.
  • Now here type your website URL and with IP(Here you can see localhost with IP 127.0.0.1 )
So from now, you have to type the next IP like 127.0.0.2
  • Let's block YOUTUBE. Then type '127.0.0.2 youtube.com'.
  • And below again type '127.0.0.3 www.youtube.com'.


  • Now save the file and close it.
  • And now open youtube from your browser.  
  • Now you can see The site can't be reached.
Now from this, you can block any website by just using their website URL.
Also, you can watch our video on this on our youtube channel(TECHNODI).
Share:

No comments:

Post a Comment

Featured Post

How to hack WiFi password using CMD?

   Windows Command Prompt is full of mysteries. You can hack the connected WiFi passwords just by using a few commands. Follow the steps bel...

Blogs by Us

Popular Posts

Powered by Blogger.

Labels

Pages