Access redirects not working on Cloudways websites

I’m trying to enable Cloudflare access on websites that are hosted by Cloudways but the web requests are not redirecting to the access page. I contacted Cloudways support and they have said that the issue is with CF and not them.

I’m pretty sure the issue is with how Cloudway sites are using CF as I have another site configured in Access exactly the same that is hosted on a Digital Ocean droplet that works perfectly.

Has anyone ever come across this before? Is there anything that I can do?

Thanks, Danny.

This had nothing to do with Cloudways. Need to ensure that A/CNAME records are proxied otherwise it doesn’t work.