Debugging linking heroku app to custom domain using cloudflare


#1

Hey anyone!

After a lot of fumbling, and help, I finally got some few things working. But I have a problem, here’s what I’m trying to do. I have an app on Heroku called Sororiti, I want connect it to my custom domain Sororitie.

Here’s my first problem, when I go to sororitie.com it says there’s no app (Heroku info), but when I go to www.sororitie.com it gives me a new different error, redirect problem. Here’s my heroku configuration screenshot

and here’s my cloudflare screenshot

is anyone interested in helping me debug and finally close this issue? I’ll really appreciate any help.

PS: I can’t respond to comments because I have surpassed my limit, but I should be back up in 30minutes tops. But I’ll like your comment to show you that I’ve seen it :smile:


#2

Did you try checking this site?
https://help.heroku.com/VKRNVVF5/what-is-the-correct-dns-cname-target-for-my-custom-domains
Also can i know what CNAME that your site targeted


#3

@anhdoge I did, the CNAME my site targeted is sororitie.com, and the dns is fundamental-everglades-tk0r10qp6lf97c4au703p96b.herokudns.com

But as you can see, my domain on heroku points to www.sororitie.com and not sororitie.com

Edit: I found out that my SSL was set to Flexible and not Full. So, now that I’ve set it to full, it goes back to the Error 525, whether the url is sororitie.com or www.sororitie.com. So, I created my SSL certificate on Cloudflare, went and copied it to my cpanel. So I’m just not sure what’s happening.


#4

If you want to use SSL full then point CNAME to sororiti.herokuapp.com


#5

Hey, thanks for this insight, though I have a question, if I set it to this, does it mean I ignore the other domain that heroku set up for me? the dns one: fundamental-everglades-tk0r10qp6lf97c4au703p96b.herokudns.com