host is the host name from the URL, excluding the port number only if the host name has no domain name (no dotted segments).