Perhaps you're disciplined and want to block a website from yourself. (No more guilty pleasures per your New Years' resolution.) Maybe you've the proud owner of a child who surfs the web for less than appropriate material. Whatever the This action will require you to edit your Host file. Your host file is a computer file used to store information on where to find a node on a computer network.
Procedure:
1.Simply go to C:\WINDOWS\system32\drivers\etc
2.Now, Open file named "hosts".
3.Open with notepad.
4.Now write "0.0.0.0 www.facebook.com"( I have taken example of facebook. If you want to block other site simple replace your site url with www.facebook.com).
SEE FIGURE BELOW:
5.Your site is now blocked In All Browsers.
How to unblock it again:
TO unblock it simply remove the entered text in hosts file.
For windows 7 You have to take ownership to hosts file to make changes with it.
See this post:How to take ownership in Windows 7 and Vista?
No comments:
Post a Comment