How to Block A Websites in your PC?

Posted by on 0 comments

Do you want to block some websites to avoid the other users of your PC to browse those sites? Well, do this tutorial and let's block 'em all!
This action will require you to edit your Host file. Your host file is a computer file used to store information on where to find a node on a computer network.
In Windows XP
1. Click Start->All Programs->Accessories->Command Prompt.
2. Click Command Prompt This will open a DOS command window.
3. Type: notepad C:/Windows/System32/drivers/etc/hosts
4. Locate the line localhost
5. To block the website for example, just add this text under localhost:

You can add as many sites any site, However you will need to prefix it with "".
6. Save the file
Google will now be blocked in all web browser. This is an advanced but easy method on how to blow a website.
In Windows 7 beyond,
Just navigate in your C drive and find this location
then find a notepad named hosts
Copy that and Paste it in your other directory (like My Documents)
Edit the filename with the extension .txt
Just do the steps above (same as XP)
Save that and then rename the host.txt into host (without file extension)
Lastly, paste host into C:/Windows/System32/drivers/etc

So that's it! You can now block the sites you don't want!
If you want to unblock those websites, just delete their URL in host.

Newest Post:
Newer Post

Older Post:
Older Post

0 Comments for "How to Block A Websites in your PC?"