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?
1 Reply
Chaika
Chaika5mo ago
Depends a lot on setup. Are you using https and have virtual host blocks on 443 w/ SSL/TLS Encryption Mode (under SSL/TLS -> Overview) set to Full (Strict)? With Curl you can use curl --resolve dev.example.com:443:127.0.0.1 https://dev.example.com/ to test locally the behavior
Want results from more Discord servers?
Add your server