+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
    • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Computers & Internet
How to Block Websites by Address Without using Software

How to Block Websites by Address Without using Software

Wale Adekile
June 8, 2013

First off, it’s my first guest post on Doncaprio.com and I’m hoping you will like my article as it’s all about how to block websites by address rather than using software. You don’t need to use the 30-days of trial software programs to block websites now, it can easily be done without that.


So, let me tell you guys, you can now block websites by web address without using a software as you may need to block websites while blogging. Out there on Internet, loads of websites are available in which some of websites don’t let you work productively and you may want to get rid of these distractions just as I hate Facebook which I consider one of the top time wasting websites.

This may also be useful if you intend to restrict sites other people can visit with your computer. If you have a computer used by friends and neighbors, blocking specific websites may be necessary and this comes in very handy.

Also, this is pretty good for preventing your kids from visiting certain websites that may not suit them.

Blocking Websites by Address Without using Software

Follow the steps below to block websites by web address:

1. From Computer, go to My Computer


2. Navigate to C:WINDOWSsystem32driversetc

3. On this page write click the file hosts and edit this file via Notepad

using Windows Hosts file to block websites
4. At the end of the file you can see that 127.0.0.1 localhost

5. Copy the IP address (127.0.0.1), press Enter button to leave a line and paste the IP address in the next line

6. Now, add the web address next to IP address which you want to block without https:// or http:// like this:

127.0.0.1 localhost
127.0.0.1 www.facebook.com

And save the file with Ctrl + S.

Note: don’t add .txt extension just save the file.


And now if you go back and restart the browser whether it’s Mozilla, Google Chrome, Opera, Safari, etc and look for Facebook you will get Page Not Available Error. Hope you guys like my article. Thank you.

Web page not available 1

Note: You may not be able this file without Administrator privilege. If you’re having issues, you may drag the file to your desktop, edit it, then drag and drop it back to it’s right folder.


Previous Post
Media.net Review: A Real PPC Program or just a Scam?
Next Post
10 Great Apps to Help Kick Cigarettes’ Butts
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
unlock huawei 303
Computers & Internet

How to Unlock Huawei E303 USB Modem

13 years ago
Computers & Internet

How to Solve Intermittent Connectivity Issues in Your Home Network

12 years ago

Recent Articles

yunmai massage gun mini 2.
Yunmai Massage Gun Mini 2 Review
BenQ LaptopBar Review: The Accessory I didn’t Know I Needed
teendow g20
Teendow Robot Vacuum G20 Review
Yunmai EasePro Massage Gun Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
How to Use WhatsApp on an iPad
Things to Consider When Buying a MacBook
programmer
Learning to Code: A Comprehensive Guide for Beginners
identity thief
How to Efficiently Prevent Identity Theft

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy