[How To] Block any Website Without Using Software

What if you can block any website in windows without using any software.....
Just follow these steps:

1Browse for C:\Windows\system32\drivers\etc.
    Alternatively, Open “Run” from the start menu (or press WinKey + r). Just copy paste the following path and hit ENTER. notepad %windir%\system32\drivers\etc\hosts


2. Search for the file named "hosts" and open it in notepad.

3. Then you will see a line "127.0.0.1 localhost".

4. Just under this line add "127.0.0.2 www.sitenameUwantTOblock.com" without quotes and Change the www.sitenameuwanttoblock.com url with the site's url you want to block and you are done!!

For Example:-
127.0.0.2 www.facebook.com

5. Make sure every time you add another website, the last digit of the address 127.0.0.x should not be the same.

For Example:-
127.0.0.3 www.orkut.com

6. Save the file and exit. Restart your browser if it is opened and changes will take place immediately.

Note:
You may need to add sites with both with and without the "www.". Test after blocking to make sure you got it right.

You can add as many undesirable and dangerous sites as you wish to block in this fashion in your personal HOSTS file!

Some people suggest that you add a website address that you wish to block by adding it to Internet Explorer's Restricted Zone. This does NOT totally block a site. It will only RESTRICT a site from certain actions such as using javascript, Active-X and Java etc.

Some people also suggest that you add a website address to the Internet Explorer 'Privacy' settings. This does not block a site. It only stops that site from using cookies.

No comments:

Post a Comment