CloudFlare uses a resolve_to DNS record to access the IP address of the domain it is trying to proxy, usually cloudflare.domain.com. CloudFlare will show an error if the subdomain in question is not resolving. You need to check the settings for your subdomain to ensure that CloudFlare has the right location from where to load up your website page.