create a host file and use it