After reading Cloudflare documents it seems that i need the ip address for my domain. which was with the registrar. I included this and finally able to create an A record however, on testing i had the error 522 which has to do with the host provider. How can i solve this ?
I think that the issue is " * The origin IP address in your Cloudflare DNS app does not match the IP address currently provisioned to your origin web server by your hosting provider." ?
I was think of registering the domain with Cloudflare so they control everything good or bad idea , unless there is another solution?