The other day, while working with the DNS records of a client who uses GoDaddy’s nameservers, I got the cryptic message:
“record could not be added”
when trying to save a new record or change an existing record.
Besides being a prime example of how not to write error messages, it truly just didn’t give me any indication of why I couldn’t change the record.
A rabbit hole of Googling led me nowhere, and it wasn’t until I had spent quite a bit of time working with support before I learned the very obvious reason for this message.
The reason you are seeing the “record could not be added” error is most likely because you have Godaddy’s “Website Security” plan, and the firewall blocks any DNS changes.
The solution, then, is to simply disable the firewall.
Note that it’s also possible you are trying to add a duplicate DNS record, e.g. a second “www” CNAME. You can only have one CNAME with the same name. The following instructions apply to the security issue.
Weirdly, GoDaddy does not have really any articles discussing the firewall that I can just link to. I did find this one, which should at least get you to the right spot.
These are the instructions that should bring you to the page where you can disable that firewall. Note that they could change the interface at any moment, as they are prone to do.
- Go to your GoDaddy product page.
- Under Website Security and Backups, next to the Website Security account you want to manage, select Manage.
- Under Firewall, select Details.
- Click “Settings” in the top right
- On the left, click “Firewall Status”
- Click “Disabled” and then click “Save”
Note that I tried disabling the security firewall, changing the record, and then re-enabling the firewall, and for whatever reason, the record reverted to the old one.
You may have to leave it off at least until the DNS propagates. I don’t personally see much value in this “security” service but maybe you want to keep using it.
Also note that our client didn’t have to worry about any of this at all, because we handled it all for them. What could have been a huge headache for them was handled at no additional charge with one of our lightning-fast hosting plans.
Thank you for this! *Chef kiss*
You’re very welcome!