from hostname to host