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.
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
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@example.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!