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:

C:\WINDOWS\system32\drivers\etc

First backup thehosts file.

Open hosts file there from the notepad.

At the end of the line you can see as per below.

127.0.0.1 localhost

Append the following line at the end

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

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

Enjoy…

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 : sales@eukhost.com 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!

Comments

comments

Industry News Tutorials Web Hosting

Related Posts

One Comment

  1. Adam, 8 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.