Cloudflare “Must be a valid IPv4 address”

I got this Error when entering my A name record in cloudflare “Must be a valid IPv4 address”.

104.27.146.xxx

DNS Validation Error (Code: 1004): Content for A record is invalid. Must be a valid IPv4 address (Code: 9005)

1DDA97EB-533C-47A3-B1F0-2D65FCD7C2C1

2EF56666-253B-42E4-AB75-339A4F14FB75

Then i contacted support as you do…

Hello,

It looks like you are pointing your domain to a nameserver, are you sure that is the proper value for the CNAME record? Your hosting provider should be able to provide the CNAME value for you. Normally, however, your host will provide you an IP that you would use to create an A record. Please let me know what your hosting company says.

Thank you,

Jake
Support Engineer | CloudFlare

Hi I have got my A name record from my host but when I try to add it I get an error. See attached screenshot. The A record is 104.27.146.162

Solution

Looks like the hosting provider gave me the wrong ip address, now they have given me the right one it works!

04634B41-04EE-440A-A1BE-3344C2EC7DF5

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *