Web Pages by Students

ABC of C Language

   by Shailender Sharma
   on 16 March, 2013



Bootable Pen Drive

   by Avtar Singh
   on 21 March, 2013



e-Trash or e-Treasure ?

   by Pallavi Bagga
   on 12 May, 2013



Lakshya

   by Rabina Bagga
   on 25 May, 2013



OOPs Concepts

   by Navjot Kaur
   on 29 May, 2013



Fitness First

   by Ankush Rathore
   on 18 June, 2013



Information Systems

   by Kajal Gupta
   on 19 June, 2013



Quiz Contest in C++

   by Rajnish Kumar
   on 20 June, 2013



Core Java (Tutorial)

   by Shyena
   on 7 November, 2013



C Language Q&A

   by Anmol Sharma
   on 12 April, 2014



HTML 5 Tutorial

   by Kishan Verma
   on 28 May, 2014


How to Block Websites Without Software



Lets assume you need to block certain sites like Facebook, Orkut or any other site. We will Block certain Websites without using any software. We will directly edit the hosts file in windows, which will help us to Block any site.

1. Navigate to C:\Windows\System32\drivers\etc




2. Open hosts file with any Text Editor (Open with Notepad).




You will see these two lines in the file


127.0.0.1       localhost

127.0.0.1       localhost

Now Append the Second line with 127.0.0.2 and the website address you want to block.


For Example




We have changed the Second Line as

127.0.0.2        www.google.com 


3. Now Save the hosts File and Restart your Computer.

Now Open Google in any Browser, See It is Blocked on you Computer.



You can Block multiple websites by changing hosts file

For Example :-

127.0.0.1       localhost
127.0.0.2       www.google.com
127.0.0.3       www.yahoo.com
127.0.0.4       www.facebook.com




Powered by Blog - Widget
Face Upward - Widget