Tips and Tricks

How to Block a website on your computer

Sometimes we do not want the users of a particular computer or network to open a particular website.  Although web browsers provide facilities to block a website but they do not work always and it is quite easy to undo the settings. So follow this guide to know how to block websites by using computer’s host file. By setting a password for your host file, other users will not be able to unblock the websites back. Here are the steps:

1.      Open the ‘Command Prompt’ and type “notepad C:/Windows/System32/drivers/etc/hosts” and hit ENTER . The host file will be opened.

2.      Now in the host file find the line that says: “127.0.0.1 localhost,”. Bellow this line type the IP address and name of the website that you want to block separating by a space. If you want to block more than one site write the similar details in individual line. For example if you want to block Facebook.com then write the following line:

66.220.158.11 http://www.facebook.com

3.      To find out the IP address of a website open the command prompt and type “ping http://www.facebook.com” and press Enter key. If a website has more than one IP address then write each one with the website name in separate line.

4.      Save the host file after adding the details of all website that you want to block and close the host file and command prompt.
Its done !
Advertisements

About Sri

A species who has a little of more things combined together. Strongly believes that "Art is long, life is short" and a lifetime is insufficient to master even one. ~ Silent ~ Silly atTimes ~ Truthful Always

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 513 other followers

Blog Stats

  • 340,765 views

Blog categories..



On My twitter now !

This is me :)

%d bloggers like this: