Perform the following steps to edit the system host file:
-
To active this feature, you will need to be logged into your computer with administrative rights.
-
First click on Start button and select "Run". Now type "notepad" c:\WINDOWS\system32\drivers\etc\hosts" then press Ok button to open host file.
Now a notepad window will appear with the title "host Notepad".
Now locate the line 127.0.0.1 localhost and here press the Enter key to change the line then type the websites name. For example if you want to block site www.myspace.com then type as:
127.0.0.1 localhost
127.0.0.1 www.myspace.com
-
Here you can add many sites with prefix 127.0.0.1.
-
Now go to File menu and save these setting.
-
When you want to restore access to this site, simply remove this line and again save it.
-
Close the host file and reboot your computer after any changes to go into effect.
No comments:
Post a Comment