Set hosts file correctly.