Same issue as for your previous post. We first need to look into it in more detail as adding custom domains through our integration is broken at the moment. This is the same process code-wise as adding the initial codefloe.page domain.
We added your new primary domain manually just now.
(On a separate issue my domain registrar, Hover, doesn’t support top-level CNAME redirects, so I had to resort to setting an A record to the IP address that my static page resolves to, which of course is subject to change…)
One more domain please if you would be so kind: the www variant, and that should take care of it.
(I think I might have a way around Hover not allowing apex-level CNAME records.)
There’s nothing special here, i.e. a CNAME entry to the main domain configured in SH resp. within the Pages setting in CF will work. We have multiple sites configured this way.
A records aren’t a robust solution here due to the possibly changing IPs. Though they are the only way to configure APEX domains. Subdomains (like www) should always use CNAME records. See also the statichost docs.
WRT to docs: ideally we don’t duplicate other existing docs. Maybe we can link to the statichost docs at an appropriate place within the CF docs? PR welcome