How to redirect traffic from www to root domain on app platform?

Posted May 7, 2021 117 views

I deployed my django app successfully on App platform. I added my root domain. The challenge I have is users who access web app with www included are shown a cloudflare page: ERROR 1: DNS RESOLUTION ERROR.
I added www as a CNAME record but things are not working.
Digital ocean support agents have not been helpful on this

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.

Submit an Answer
1 answer