You can parse the hostname in the request URL - Cloudflare Developers