Monday 17 September 2012

Loading

Block Unwanted Websites On Your PC

Windows uses  Hosts file to map hostnames to IP addresses. It basically tells your computer where to look for a certain website.When you type an address in your web browser it first checks the Hosts file for redirection information,if no record about a website is found, it opens a website for you.

How You Can Block A Website On Windows ?

Step 1
Go to Start button and in the search box type Notepad .




Step 2
Right click on Notepad and click Run as administrator. 
















   

Select the File option from menu bar and click Open or use Ctrl + O .










Step 3
Now browse to host file which is located in  (C:\windows\system32\drivers\etc).The folder will be empty as it’s only showing *.txt files. In the bottom right of the folder click the drop-down menu and select > All Files











and double click on hosts to open it .



Step 4
Now you will see a new notepad window on your screen containing some obscure information.



Just goto the last line of the file, hit the enter key and type the following
127.0.0.1 www.example.com
127.0.0.1 www.example1.com

For e.g :  if you want to block the websites like facebook or pogo games .You can simply replace the examples with the website names and  the Ip address will remains same for as many sites you want to block .

127.0.0.1 www.facebook.com
127.0.0.1 www.pogo.com


Step 5 
After editing , your hosts file look like this 


Just save the file and restart your web browser and the above mentioned websites will blocked . If you want to unblock the websites later just remove the created entry and save the file again.

Related : How To Redirect Websites In Windows 

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Follow Us