Smart Routing Between Legacy and Modern Drupal Sites with Cloudflare
Smart Routing Between Legacy and Modern Drupal Sites with Cloudflare
Constantin Dumitrescu (oldspot)
Still running Drupal 7, rebuilding in Drupal 10/11, and stuck with some on-prem along the way? What if your traffic could pick the right path automatically, all while using one domain? Join us for a routing adventure through legacy, modern, and everything between!
Prerequisite
Some familiarity with CDN features
Outline
In complex migration scenarios, delivering the right content from the right backend is critical, especially when juggling legacy systems and new builds.
This talk will explore a real-world implementation of advanced routing logic using Cloudflare to seamlessly handle traffic across three different types of backends for a Drupal multisite setup with over 500 sites.
We’ll break down the technical approach, and walk you through how we built a flexible routing logic in Cloudflare where requests are directed through one domain to three different backends using:
- Direct DNS routes for legacy on-prem applications
- Cloudflare Workers for the Drupal 7 multisites
- Cloudflare Origin Rules for the migrated Drupal 10 rebuild multisites
Whether you're mid-migration or planning a phased rebuild, this session will provide practical insights on using Cloudflare as a flexible traffic director between your Drupal worlds.
The session will also touch on other CDN provider's equivalent features, so it doesn't matter if you're not using Cloudflare.
Learning Objectives
- Insight into Cloudflare Workers and Origin Rules implementations
- Handling migration of Drupal 7 to Drupal 10 multisites using different backends
- Learning to handle phased site launches, moving sections of a site incrementally
Experience level
Intermediate