Cloudflare with Apache virtual host

Hello everyone, I am a newbie to Cloudflare so sorry if this question is poorly structured. My problem is that I have a physical server running Apache with the virthualHost of ServerName example.com and dev.example.com, I have no problem accessing from localhost, but when I try to use the Cloudflare DNS it returns "Page not found" on dev.example.com but works perfectly with example.com. Has anyone done a similar project that knows why this may occur?
Was this page helpful?