Can Cloudflare Pages be deployed under a domain Route?

We’d like to use cloudflare pages for a single-page application but without having pages take over the whole domain. The reason for this is that we have a remote origin in AWR for which certain routes are already powered by workers while others are delegated to the remote origin. Ideally, like with worker routes, we’d like to create a specific route for Cloudflare Pages. Is this possible,
1 Reply
Chaika
Chaika2mo ago
You could have a worker bound on that route which proxies requests to the pages.dev and rewrites the request url if needed. That's about your best bet, but you'd be paying for Worker Invocations on every request. Pages Custom Domains itself need to take over the entire hostname, can't work on a specific path