0
votes

I have a NodeJS application hosted on Heroku and I'm using Cloudflare to handle my DNS settings.

Unfortunately, the root domain for my application won't resolve since I don't have CNAME record pointing to it and correspondingly, I also receive the following error on my Cloudflare dashboard:

"An A, AAAA or CNAME record was not found pointing to the root domain. The XXXX.com domain will not resolve".

I found the relevant documentation for Heroku-hosted apps (shown below) which explains that all I need to do is to add a CNAME record for my root and point it to the server name. (It also states why I can't point it to a static IP address)

enter image description here

My problem is - how do I add a CNAME record pointing to the server name when the field I'm supposed to add the server name to only accepts an IP address?

See below screenshots.

enter image description here

enter image description here

Additionally, I'm further confused by the following piece of documentation:

enter image description here

1
In the Name field enter a @ also check this: blog.cloudflare.com/…nbari
@nbari thanks for the link to the blog - seems like adding a CNAME pointing to the root domain should be a breeze but its stumping me... i tried adding @ and it still doesn't allow me to add anything other than an IPv4 address in the second field.p4t

1 Answers

0
votes

Turns out this is a browser issue with Cloudflare.

On Firefox this is what the CNAME input fields look like.

enter image description here

On Chrome this is what the CNAME input fields look like.

enter image description here