3 ms·
As I generally just block ad sites, I haven't had any real issues using the hosts file that way. Obviously it's not a good idea to block resources needed by you
by ams6110 13y ago
As I generally just block ad sites, I haven't had any real issues using the hosts file that way. Obviously it's not a good idea to block resources needed by your app. I have had similar experiences though, where I put a dev machine ip in my host file with a production domain name, to test stuff before the name was actually live in the DNS, then later being confused about why the "live" site wasn't showing some content (duh... still pointing at the dev machine).