How to Configure Heroku DNS on Cloudflare (exactly)

The directions aren’t fully clear and I’m getting this with curl:

curl -I -L my.domain
curl: (6) Could not resolve host: my.domain

So what I did was this. After creating a custom domain with Heroku CLI, they told me to paste this URL to the DNS manager:

foo-bar-cuidaofidau89dygu8a.herokudns.com

So I went to my site on CloudFlare (which I previously configured with my namecheap provider, setting the CloudFlare nameservers). Then I added a CNAME record with my.domain as the name, and foo-bar-cuidaofidau89dygu8a.herokudns.com as the domain. I set to 2 minutes. I waited 10 minutes and ran curl again, and it still is showing no connection.

Wondering what I’m doing wrong, and if you could explain exactly how to plug in that Heroku DNS string they give you from the CLI.

Whats the domain in the first place?

notch.world

There is no such record configured. Can you post a screenshot of what you configured?

ติดถาม

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