I am trying to point a domain from a registrar to my website/server which uses cPanel (but is also behind Cloudflare) without adding the domain itself to Cloudflare.
But I keep getting the error saying the domain is not pointed such as:
Error: This domain points to an IP address that does not use the DNS servers associated with this server. Transfer the domain to this server’s nameservers at the domain’s registrar or update your system to recognize the current DNS servers. To do this, use WHM’s Configure Remote Service IPs interface.
I have tried pointing the domain A record to the server,
A @ SERVER_IP
I have also tried setting custom nameservers to the same as the servers, and also tried setting personal DNS server to the server too.
But I did notice if I manually add the domain to Cloudflare it works.
I do not want to do this though as I wish to support other people pointing their domains to my server automatically without adding the domain to Cloudflare (as they may not want to use it).
Is this even possible? What am I doing wrong?
Thanks