How can I block access to a website on my laptop at home?
Asked by
TechyNinja42
I'm trying to stop myself from visiting a popular website on my laptop at home. This website has two domains that change often, and I can't set up a block on the router since other people use it too. I attempted to modify the hosts file by adding the domain name, but that didn't work. I also tried creating a rule in Windows Firewall by pinging the domain to get its IP addresses, but the site remains accessible. Can anyone suggest effective solutions, even if they're complicated? Thanks a lot!
Answers
Most modern browsers don't reference local hosts files anymore, so you may have to just block the IP addresses through your firewall. However, be careful if you're using a proxy, as that could affect it too.
Reply to this answer
Ultimately, it comes down to self-control. If you canโt block the site completely, consider setting limits for yourself. Maybe use a timer or just practice some restraint when the urge arises.
Reply to this answer
I recommend checking out this helpful guide on how to block websites on your computer: https://www.wikihow.com/Block-a-Website-on-Your-Computer. It covers various methods that might help you out.
Reply to this answer
Though I see you've already tried modifying the hosts file, make sure youโre adding the correct entry. It should look something like this: `127.0.0.0 websiteaddress`. Also, avoid including a hashtag in front; that will comment out the line. If that still doesnโt work, browsers sometimes bypass this file. You might need another approach.
Reply to this answer
Consider using VPNs or apps designed for control and security, like Smart DNS. There are tons of options out there to help you manage site access.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions