Cloudflare + WebFlow + AWS

Hello,

I'm trying to solve following routing design and need help from the community:

Domain: https://staging.example.com
Request coming to https://staging.example.com/app/* must be routed AWS IP or DNS
All other requests coming to https://staging.example.com/ must be routed to WebFlow which is where primary marketing website runs.

Please suggest how this could be achieved?

I've tried following approaches and faced different issues:
Approach #1 :
  • Created CNAME for staging.example.com and pointed to WebFlow's URL, but Cloudflare is throwing Error 1014 CNAME Cross-User Banned.
Approach #2:
  • Added subdomain inside the Webflow which further created CNAME in Cloudflare.
  • It got the website working, but then Proxy was disabled which restrict cloudflare to do further rule based routing.
Was this page helpful?