Web Pages by Students |
ABC of C Language by Shailender Sharma |
Bootable Pen Drive by Avtar Singh |
e-Trash or e-Treasure ? by Pallavi Bagga |
Lakshya by Rabina Bagga |
OOPs Concepts by Navjot Kaur |
Fitness First by Ankush Rathore |
Information Systems by Kajal Gupta |
Quiz Contest in C++ by Rajnish Kumar |
Core Java (Tutorial) by Shyena |
C Language Q&A by Anmol Sharma |
HTML 5 Tutorial by Kishan Verma |
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
127.0.0.2 www.google.com
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