CNAME from Cloudflare

After creating a CNAME on Cloudflare to point to the host, the subdomain dev.mydomain.com is loading a Sign In page and ask for credentials. Please advise if the CNAME is created right on the Cloudflare and if there is any additional settings needs to be done