Planning a Future Routing Architecture That Stays Online Even When Cloudflare Doesn’t
November 18, 2025 • Bojan
November 18, 2025 • Bojan

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.
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.
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.
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.
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.
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.
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.
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.
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.

I’m Bojan Josifoski - I’m a WordPress systems engineer who developed and maintained a proprietary WordPress-based framework used by U.S. financial institutions between 2016 and 2025.