The only thing I don’t like about the hosts-file based solutions is that you’re basically side-stepping DNS. I want DNS to just work, not have to hack things into my hosts file because it’s not.