I have setup the primary’s domain name A and CNAME records, and they work properly.
I tried to point the A record of a subdomain to another IP but it does not work. The DNS checkup shows that the subdomain points to Cloudflare ip address 220.127.116.11
My desired structure is as follows
stergioubooks. com A record --> IP address 1 (WORKS)
www CNAME --> stergioubooks.com (WORKS)
erp. stergioubooks. com A record --> IP address 2 (Does not work, points to 18.104.22.168)
www. erp CNAME --> erp. stergioubooks. com (does not work, points to 22.214.171.124)
I have read relevant articles herein and I saw that solutions. However, in my case nothing works.
In the meantime, in order for my site to work, I use another domain to point the IP address 2 from a hosting provider (not cloudflare NS)
Disabling the another provider did not solve the problem
the main domain (and the subdomain, of course) points to Cloudflare name servers.