I've had success blocking every other website that I am trying to block using my host file, but it does not seem to work for facebook. I have attached an image of my host file so you can see what I do. While attempting to block Facebook I have also searched for every url that facebook might use and put those in and after that did not work I only put in one line for facebook which was just 'facebook.com'. Every time I do this I also flush the cache through Terminal. In case it matters I have Lion.
Also, interestingly as part of my test I attempted to block apple.com, but that did not work. Though I don't care to block apple.com, just facebook
Also, interestingly as part of my test I attempted to block apple.com, but that did not work. Though I don't care to block apple.com, just facebook