I have a site which has 12 subdomains. I’ve set each of those up as their own A RECORD, an IP and they are set to be proxied. They all point at the same server.
I’ve created an Origin Certificate and installed it on my server.
However when I try and visit any of these subdomains, it always redirects me to my main www.domain.com route. As far as I can tell this is happening entirely in cloudflare, and it’s not touching my server at all.
Yet if I set up a wildcard entry and point it at my server, any subdomains caught by that get directed through as expected.
I have 4 A RECORD entries for my primary domain which all point at different IP addresses, these combined with a couple of CNAME entries are from squarespace’s configuration for my root domain.
Any ideas why the hard coded subdomains are redirecting?