Question

CNAME in Personal Cloudflare Account Not Working with App Platform Domain

I created a sample application in the DO console for App Platform (think I chose the Node.js template, but really this doesn’t matter as I am consistently seeing the behavior with other apps). I then take the generated url from DO *.ondigitalocean.app and add a CNAME record in my personal Cloudflare account for my domain to the generated address. I am unable to resolve my app platform page from the CNAME record. I have turned off Cloudflare proxying and made the record DNS only, no change. I am seeing that App Platform uses Cloudflare itself and wondering if there is a conflict here.

I found this post https://www.digitalocean.com/community/questions/how-do-you-configure-cloudflare-to-support-do-app-platform and in the answers it indicates this was documented as possibly unsupported at one time? I cannot find information confirming this is still the case.

Anyone have any ideas? No Cloudflare error codes to speak of.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
August 7, 2022

Hello @napalm,

DNS changes might take some time in order to update due to general DNS propagation and DNS cache from ISPs.

You can verify that the CNAME record is configured fine using our DNS lookup tool:

https://www.digitalocean.com/community/tools/dns

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up