I have been trying to follow these instructions (https://devcenter.heroku.com/articles/custom-domains) and similar posts (How to configure heroku application DNS to Godaddy Domain?, Connect Heroku Application with my GoDaddy Domain). Unfortunately, these instructions simply do not work for me. When I followed them, including forwarding my naked domain to a www CNAME record, I would get a redirect loop error when browsing to my custom domain.
When I contacted GoDaddy, they suggested that, instead of a CNAME record, I forward my domain to my app using masking, which I did following these instructions (https://support.godaddy.com/help/article/422/manually-forwarding-or-masking-your-domain-name?locale=en). This is working, but I'd still much rather use a CNAME record because my current solution apparently prevents my page titles and favicon from coming through.
How can I use a GoDaddy domain name with my Heroku app via a CNAME record? I'm very new to DNS configuration, so any suggestions/questions/comments would be welcome.