How to Block A Websites in your PC?
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 127.0.0.1 localhost
5. To block the website google.com for example, just add this text under 127.0.0.1 localhost:
2. Click Command Prompt This will open a DOS command window.
3. Type: notepad C:/Windows/System32/drivers/etc/hosts
4. Locate the line 127.0.0.1 localhost
5. To block the website google.com for example, just add this text under 127.0.0.1 localhost:
127.0.0.1 google.com
127.0.0.1 www.google.com
127.0.0.1 www.google.com
You can add as many sites any site, However you will need to prefix it with "127.0.0.1".
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.
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
C:/Windows/System32/drivers/etc
C:/Windows/System32/drivers/etc
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!
Note:
If you want to unblock those websites, just delete their URL in host.
Belum ada Komentar untuk "How to Block A Websites in your PC?"
Posting Komentar