3
2
So I tried blocking some websites for obvious reasons but I can still keep going to these sites even when I 'supposedly' blocked them.
I've edited the /etc/hosts
file so it looks like this (example being Facebook)
0.0.0.0 https://www.facebook.com
0.0.0.0 facebook.com
0.0.0.0 www.facebook.com
Yet I can still access Facebook. What am I doing wrong?
EDIT: Only Chrome seems to block out the website, though I can still access it trough Safari and Firefox.
I'm running OS X Yosemite
@Steven Still possible to acces the website – RandomPerson – 2015-08-05T16:03:44.060
1@Steven 0.0.0.0 is not same as 127.0.0.1, change it to 127.0.0.1 and see if it works – pun – 2015-08-05T16:05:06.147
@Steven Still possible, I wanted to use 0.0.0.0 so I didn't have to wait for the timeout. The question is towards unix systems. – RandomPerson – 2015-08-05T16:08:03.477
0.0.0.0 is a better option than 127.0.0.1. – qasdfdsaq – 2015-08-05T16:21:28.983
@Steven I've updated the OP. Not a duplicate since it listens to the file, only in Chrome. I also have other sites in there that I need to disable to access certain files when not at work and re-enable them at work. That works. – RandomPerson – 2015-08-05T16:29:08.823
Side note: Why
facebook.com
which includes everything ending on facebook.com AND www.facebook.com ? – Hennes – 2015-08-08T13:25:28.233@Hennes Was just covering all possibilities – RandomPerson – 2015-08-08T14:31:12.077
@RandomPerson do you use a proxy server? – enkryptor – 2016-12-10T07:36:37.787