Is it possible to dynamically route between two targets under one CNAME? I couldn’t find any specific documentation where Cloudflare workers or page rules could accomplish this.
For context my team is attempting an A/B test between two deployed Heroku apps as shown by “a-test.herokuapp.com”, which is the control and “b-test.herokuapp.com”, which is our B test.
I was hoping Cloudflare workers would be able to dynamically route between these two targets underneath the covers while keeping our URL the same e.g. app.domain.com.
Does anyone know if this is possible, and if so, is there any documentation around this? Thank you!