I have changed the server where my website is hosted, then I entered the cloudflare to change the settings. I tryed to change the IP address in cloudflare, but it doesn’t worked.
Then I deleted the CNAME and A settings and entered again, the A setting I entered OK, but it wasn’t possible to add a CNAME (error: DNS Validation Error (Code: 1004) Content for CNAME record is invalid.).
Now, the DNS doesn’t resolve and the website only access by IP. How can I configure the proper way
I have dona the “A” record!! But it doesn’t worked, instead appeared the DNS_PROBE_FINISHED_NXDOMAIN error, neither proxy nor only DNS are working. I checked the IP address and it’s correct.
If you need further assistance, please post a screenshot of your DNS records page here. It’s ok to black out IP addresses. And please let us know which two name servers Cloudflare shows at the bottom of that DNS page.
Have you changed your nameservers within the last 72 hours? If so, the changes may not yet be fully propagated and that might be why this issue is occuring!
Also, do you have “Full (Strict)” set in the overview tab of your SSL/TLS settings?
I see you are getting a 521 error, below are troubleshooting steps for the error
Error 521: web server is down
Error 521 occurs when the origin web server refuses connections from Cloudflare. Security solutions at your origin may block legitimate connections from certain Cloudflare IP addresses.