There are many people who want some website inaccessible from their computer. Most of the parents want to block some websites on their computer system. Here i am going to write a well known an easy way to do this.
1. go to C:WINDOWSsystem32driversetc
2. Find a file named “HOSTS”
3. Open this file in notepad
4. Under “127.0.0.1 localhost” Add 127.0.0.2 www.xyz.com , Now www.xyz.com site will no longer be accessible.
You can add as many url of websites under this by increasing last no. of ip as
an so on.
To unblock these website only erase the line corresponding to that website.