Bojan Bojan
Ask AI
I am the Great and Powerful Oz, keeper of Bojan's secrets and his 298 five-star reviews. Step forward and ask, traveler, or tell me who you are and I shall tailor the spectacle.
I'm hiringI have a projectJust curiousAI & platforms
powered by cloudflare workers ai · llama
← All writing
SampleHQNov 18, 20253 min read

Planning a Future Routing Architecture That Stays Online Even When Cloudflare Doesn’t

The recent Cloudflare outage highlighted a structural weakness that affects many platforms: When DNS and traffic proxying are handled by the same provider, the entire system inherits that provider’s outages. Cloudflare remains one of the most reliable networks globally, and this is not a criticism of their infrastructure. Instead, it’s a reminder that resilience isn’t

The recent Cloudflare outage highlighted a structural weakness that affects many platforms:
When DNS and traffic proxying are handled by the same provider, the entire system inherits that provider’s outages.

Cloudflare remains one of the most reliable networks globally, and this is not a criticism of their infrastructure. Instead, it’s a reminder that resilience isn’t achieved by trusting a single provider-no matter how strong they are.

To address this, a new future architecture is being planned for SampleHQ.
The focus: decoupling DNS authority from traffic routing, introducing redundancy, and enabling instant failover when a proxy layer becomes unstable.

Below is an overview of what will be implemented in the coming weeks and why each component matters.


1. DNS Will Be Moved to a Neutral, Redundant Provider

The planned setup includes:

Cloudflare will still be used as a proxy and CDN-but not as the authoritative DNS provider.

This separation removes the single largest point of failure in most Cloudflare-based stacks.


2. Two Independent Traffic Paths Will Be Created

To allow routing to switch instantly when needed, the architecture will include two hostnames:

app.samplehq.io      → Cloudflare path  
origin.samplehq.io   → Direct-to-origin path

This enables:

This simple separation is one of the strongest reliability patterns in modern SaaS.


3. Continuous Health Monitoring Will Drive Routing Decisions

The system will monitor:

If the proxy path fails but the origin remains healthy, routing can immediately shift to the origin hostname.

The decision will be automated through:

This eliminates manual intervention and reduces downtime to seconds.


4. DNS Failover Will Be Fully Automated

With independent DNS in place, routing can transition automatically:

The logic will ensure:

Once implemented, this will allow SampleHQ to remain fully available even during global CDN or DNS disruptions.


5. Future Support for Multi-CDN Routing

The architecture is being designed with expansion in mind.
Once the initial failover layer is complete, the system can extend into:

This ensures long-term scalability and resilience as SampleHQ grows.


Why This Architecture Is Being Built

Incidents like today’s Cloudflare outage are reminders that:

This future system is not a reaction to a single event-it is a long-term, production-grade resilience enhancement that will benefit the entire platform and all tenants relying on it.


What Will Be Shared Later

Once the architecture is fully implemented and tested, detailed documentation will be released, including:

The goal is to create a reusable model for any application that depends on Cloudflare or similar networks.


Closing Statement

Cloudflare is an excellent platform, and it will remain part of the routing stack.
But relying on a single provider for both DNS authority and traffic proxying creates unnecessary risk.

The planned architecture aims to remove that risk, strengthen reliability, and ensure that critical systems remain available regardless of external outages.

More details will follow once the rollout is complete.

Related writing
Jun 13, 2026

From Zapier to AI Agents: The Four Levels of Business Automation

Jun 03, 2026

Every WordPress Error Page Beyond 404 Is Broken. I Built a Plugin to Fix Them.

May 29, 2026

Your Git Log Is a Legal Document