Using Cloudflare CNAME www does not redirect to the root

I’m using cloudflare, I have entered bubble’s A records and set to proxied (orange). I also have a CNAME - www pointing to @

When I type https://mywebsite in a browser everything appears as it should.
When I type www.mywebsite in a browser I receive error 1000, DNS points to prohibited IP

How can I ensure all “www” references point to my root?

Hey @brad11 , whats up?! Welcome! :waving_hand:

The problem is in your configuration in Cloudflare not with Bubble.

Try to change you CNAME record to:

name = www
Destiny = mywebsite.com

Thanks! The records you suggested have been updated. Also proxied (orange) - not sure that matters. I’ll wait a few minutes and report back.

Hi, I’m still experiencing the same issue.

Ok. So let’s try to force a redirection.

In Cloudflare, go to “RULES → OVERVIEW”

They already have a template created to redirect acesses from http to https.

Try to apply this rule.

That worked, thank you!