Browsers Internet Laptop Microsoft

How to block/unblock a website on your computer

If you would like to block/unblock a website from being viewed on your Windows computer, follow these steps:


First backup thehosts file.
Open hosts file with notepad.
At the end of the line you can see as per below.       localhost

Append the following line at the end

# replace the with the site name that you want to block.

then go to Start->Run-> type ipconfig /flushdns

Note: That will only stop the domain name to go to the website but if you know the IP address of the site from DnsStuff or NetworkTools then you can browse the site.

'Coz sharing is caring

By Swatantra Kumar

Swatantra is an Open Source evangelist, a technologist and researcher. Professionally, he does software development, software architecture, server administration and project management. When he's not writing software, he enjoys building web entities and servers, reading about and working with new technologies, and trying to get his friends to make the move to open source software. He's written, co-written and published many articles in international journals, on various domains/topics including Open Source, Networks, Computer Organization, Mobile Technologies, and Business Intelligence. He made a proposal for an information management system at University level during graduation days.

Leave a Reply

Your email address will not be published. Required fields are marked *

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