hi!
When I added the CNAME entry in my custom DNS in Cloudflare, I had to add a name, which was suggested to be www but I didn’t want to always have to put www at the start of the site to get in. Cloudflare said I could just put @ for the name as it represents the root but it didn’t work.
Try to configure the records as follows (let’s say your domain example.com ): @ or example.com - A - 3600 - 50.31.246.2 WWW - CNAME - 3600 - example.com