Block Any Websites On Your Computer Without Any Software

www.himstar.info

Have you even been in a situation, you have to block certain websites on your computer? Well, i have been many times in such situation. Parents may also want to prevent access to certain websites on their computer so that children can’t get to them from internet .
So I Am going to share a trick by which you can eaisly block desire website in your pc without any software.

Open 'Run' from the start menu (WinKey + r). Just copy paste the following path and hit Enter.

C:\Windows\System32\Drivers\Etc

find the file 'hosts'.

This file is required Administrator Privilege before editing the host file .
for this you can follow below steps :

Right Click >properties> security
under security lab check user and go to edit tab

www.himstar.info


Check on Full Control:

www.himstar.info

Now open host file, when this hosts file is opened in Notepad, at the end of the file you will see something like '127.0.0.1 localhost'.
Under '127.0.0.1 localhost' just add another website URL that you want to block.

Ex:

127.0.0.1 localhost
127.0.0.2 www.facebook.com
127.0.0.3 www.example.com

www.himstar.info



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

Save the file and exit.
 
Restart your browser if it is opened and changes will take place immediately.
The good thing is that no message, nothing will be displayed when someone tries to open a blocked website. Your browser will just fail to open those websites without any error messages.
 
What is the reason ?
Because windows can't access hosts file by web browsers.
 
I hope you enjoy it.. be happy..stay with us !
* Do you like this story? Then why not share it with your Friends *
If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to our regular Email Updates!

Himanshu is a young engineer living in India. Currently working at LiveCareer as a software engineer. He is an ethical hacker & blogger too, doing lots of crazy stuff... If you seem interesting, go through his portfolio: www.himstar.info : "Open Source. Millions of open minds can't be wrong!"

5 comments: On Block Any Websites On Your Computer Without Any Software

Leave a reply:

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Site Footer

Sliding Sidebar

We are India’s largest Startup Community


We are team of ' Delhi Startups ' , most active startup community with strict spam policy.
We are making !deas happen..for future, business and jobs without charging anything, with connecting entrepreneurs.. It's a reason to trust on us.
Come and join or subscribe, we will defiantly give a reason to like us.

Our Facebook Page