Block Any Websites On Your Computer Without Any Software

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.


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

Check on Full Control:

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

Ex: localhost

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 !

Himanshu is a young engineer living in India. Currently working at Cognizant as a Senior Engineer. He is an ethical hacker & blogger too, doing lots of crazy stuff... If you seem interesting, go through his portfolio: : "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