I have domain A running a Cloudflare. I have domain B on another server (no Cloudflare) which needs to do a curl command (through PHP) to a script on domain A, I’m getting an Error 1016 (Origin DNS error). This makes sense since the origin IP isn’t the same as the IP configured in the DNS.
I have tried adding the IP of domain B to the firewall in cloudflare for domain A by going to Firewall > Tools with the action ‘Whitelist’. I have also added the IP to ‘Firewall > Firewall Rules’ with the action ‘Allow’.
I’m still getting the same error, am I missing something?