Match endpoint prefix hostnames