Configure hosts file