Host file is there for the user to make changes to block or redirect certain IP addresses, whether local network or public (internet).Instead of deleting whole host file ,just delete host entry from