How to block a website on your computer.

Posted by at 7 December, at 15 : 45 PM Print

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


First backup thehosts file.

Open hosts file there from the 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


Affordable Web Hosting

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 whois then you can browse the site.

Like this post ?

Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.

Email us the shared link at : [email protected] or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!

Be Sociable, Share!

Industry News Tutorials Web Hosting

Related Posts

One Comment

  1. Adam, 9 years ago

    I usually block a websites from my Spyware, those having no spyware can Click the internet icon on the status bar and then-click restricted sites icon and add the websites you want to get blocked .

Post Your Comment

You must be logged in to post a comment.