Extract host from FQDN.