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!
5 Answers
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.
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.
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.
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.
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.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures