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 bl...



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:
127.0.0.1 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.
In Windows 7 beyond,
Just navigate in your C drive and find this location
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.

COMMENTS

Name

android,15,Android Apps,2,bug,3,free internet,6,free software,25,globe-tm,12,howto,9,pc repair,2,smart-tnt,17,tools,11,tricks,27,
ltr
item
XtremeBasic: How to Block A Websites in your PC?
How to Block A Websites in your PC?
http://3.bp.blogspot.com/-uMdwWmhoVcc/Vn61asTaXvI/AAAAAAAAAGg/NBP1UFq6jDo/s320/phtrendz_block_websites.jpg
http://3.bp.blogspot.com/-uMdwWmhoVcc/Vn61asTaXvI/AAAAAAAAAGg/NBP1UFq6jDo/s72-c/phtrendz_block_websites.jpg
XtremeBasic
https://xtremebasic.blogspot.com/2015/12/how-to-block-websites-in-your-pc.html
https://xtremebasic.blogspot.com/
https://xtremebasic.blogspot.com/
https://xtremebasic.blogspot.com/2015/12/how-to-block-websites-in-your-pc.html
true
7118480331111919422
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy