Pointing subdomain to heroku app

I have a subdomain (app.example.ai) pointing to a heroku app by adding that under domains in the heroku UI. The DNS target that heroku provides is added as CNAME record in Cloudflare already.The CNAME for root domain (www) is already pointing to another application hosting our website. However, app.example.ai is getting 502 bad gateway, I am unable to identify what’s the underlying issue for DNS not being resolved

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.