I have a QA / Test site at wwwqa (dot) example (dot) com, and my primary Production site is at www (dot) example (dot) com.
Currently on CloudFlare, I only have one site listed as “example (dot) com”, and then I add the CNAME for wwwqa to point to CloudFlare.
I want to have two sites on CloudFlare, so when we turn on developer mode, or any configuration changes on Cloudflare, it would only affect the QA site for testing purpose and changing configurations. Also analytics and metrics.
Is there a way to do this? Cloudflare will not allow me to add example.com twice, and it will not let me add wwwqa because it’s not the top level domain.
You’d have to create a Page Rule for sub.example.com/* and add a bunch of settings, like Cache: Bypass, Performance: Off, etc. That’s pretty much what Developer Mode does. Then you can turn that Page Rule on and off as needed.
I guess if that’s the only option then that would work. I was hoping I would be able to test other functionality and settings on CloudFlare applying to our QA site and it wouldn’t affect our PROD site.