I am using Cloudflares integrated hosting with GitHub and have set up all the necessary CNAME properties as indicated. My page can be accessed if I do a naked search at my domain i.e http://domainname.com or https://domainname.com this works. However, if I do www.domainname.com this fails with
This site can’t be reached
I have also tried getting the IP from Cloudflare nameservers and added only one of them ( @ and www ) as A record but that was returning error 1016.
Any ideas on how to solve this?