@girish Thank you for your response. I tried it in another browser and example.com takes me to wordpress.example.com
But when I type www.example.com it gives me error 522 on cloudflare. Also Cloudflare dashboard is giving me a message that my.example.com (my domain) is exposing your real IP. My CNAME record WWW has a value "parkingpage.namecheap.com"
How can I solve both issues, please help.