Step by Step
First Step
First of all turn off your Anti-Virus Software, because sometimes it's protecting your host. You can't change anything on your host file if anti-virus protecting it.
Step 2
Now go to your Hosts file, to do that. Go to C:\Windows\System32\drivers\etc.
Open your hosts file as notepad.
Step 3
After Opening your hosts file you will like this.
Step 4
Now at the bottom of the notepad type the websites that you want to block. For example you want to block youtube, do it like this 127.0.0.1 www.youtube.com like the picture below.
Final Step
Now After typing the websites you want to block just save your host file and restart your browser and try to access the websites you blocked. And you will see that you can't access it anymore.
0 comments:
Post a Comment