I've been using the hosts file to block some sketchy file hosting sites, but I'm having trouble blocking foldr.space. I might be missing something simple, but I don't have a background in system administration—just dabble in it for some side projects. Any advice would be greatly appreciated!
3 Answers
Honestly, using the hosts file for blocking is becoming less effective these days. Just because a site looks like a regular DNS hostname doesn’t mean that’s how the client accesses it. Nowadays, sites might use SNI extensions or certain HTTP headers that bypass the hosts file. To properly block a website, consider using a transparent proxy or a secure web gateway that can analyze the traffic more effectively.
In your case, using Windows Firewall might be a good alternative. There's a tutorial out there that walks you through setting that up to block domains. It might be a more effective approach for what you're trying to accomplish.
If you're on Windows, you need to make sure you're editing the right hosts file in the right directory: C:WindowsSystem32driversetc. The format is simple: just add '127.0.0.1 badwebsitename.com' at the bottom. Remember, it shouldn't have an extension. That said, if it doesn’t work, you might want to check if there's a typo or try flushing your DNS.

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