Restrict a Website in Windows


Open Windows Explorer.

Browse to C:\WINDOWS\system32\drivers\et…

Find the file named “HOSTS”.

Open the file in notepad.

Under “127.0.0.1 localhost” add 127.0.0.2 http://www.name_of_the_site_to block.com. So, if you’d like to block http://www.youtube.com, the code will look like this:
127.0.0.1 localhost
127.0.0.2 http://www.youtube.com

Advertisements

One thought on “Restrict a Website in Windows

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