Quick Intro
Quick Intro

Software Engineer with 7+ years, delivering 219+ projects for clients across 10+ countries. Specialized in Laravel, web systems, and AI-integrated development.

AddressGaza, Palestine
Find Me On
Why Do All Your Cloudflare-Connected Sites Show "Hello World"? The Real Cause and Fix

Why Do All Your Cloudflare-Connected Sites Show "Hello World"? The Real Cause and Fix

If Hello World! suddenly appeared on all your Cloudflare-connected domains at once, the real cause has nothing to do with your server — it's a rogue Cloudflare Worker attached to a wildcard route. Here's how to diagnose and fix it in under two minutes.

Introduction

Few things are more alarming than opening several unrelated websites you manage and finding that every single one of them displays the exact same bare page: Hello World! instead of your actual content. What makes it stranger is that your VPS is running perfectly, databases are intact, files are in place — yet none of that reaches the visitor's browser.


Symptoms

  • A plain, unstyled Hello World! text on a blank screen
  • The issue affects more than one domain simultaneously
  • No error messages in the server control panel
  • DNS records look correct at first glance
  • The problem appears suddenly with no direct changes to the sites

The Real Cause: A Cloudflare Worker Intercepting Requests

After checking the Cloudflare dashboard under Workers & Pages, an experimental Worker was found with an auto-generated random name like worker-orange-lab-d5cd — attached to routes covering 9 different domains at once.

Why does this cause the problem?

When a Worker gets attached to a broad wildcard route like *domain.com/*, Cloudflare treats it as higher priority than regular DNS settings. The Worker's code executes before the request reaches your origin server. Since the default template code only replies with Hello World!, requests never reach your VPS at all.


How to Check If This Is Your Problem

  1. Log in to your Cloudflare dashboard
  2. Go to Workers & Pages
  3. Look for anything with a randomly generated name like worker-xxxx-xxxx-xxxx
  4. Click on it and check the Triggers / Routes section
  5. If it's attached to a wildcard (*) route covering your domains — that's the culprit

How to Fix It

Option 1: Delete the Worker entirely

  1. Click the three-dot menu next to the Worker's name in Workers & Pages
  2. Select Delete and confirm

Option 2: Just remove the routes

  1. Open the Worker's settings and go to Triggers
  2. Remove every route pointing to your affected domains

After either fix, all requests will immediately pass through to your origin server and the Hello World! page will disappear right away.


How to Avoid This in the Future

  • Periodically review the Workers & Pages section
  • Never attach test Workers to wildcard routes like *domain.com/*
  • Delete temporary routes immediately after testing
  • Name test Workers clearly so they don't get forgotten

Conclusion

The "Hello World" issue across multiple Cloudflare sites isn't a server failure — it's a direct result of a leftover Cloudflare Worker on a wildcard route intercepting requests before they reach your origin. Diagnosing it is straightforward once you know where to look, and the fix takes under two minutes.

Comments

No comments yet.

Be the first to share your thoughts!

Leave a comment

Your email address will not be published. Required fields are marked *
0 / 3000

Category

Recent Posts

About Me

about-me

Mohammed Alzard

Full Stack Developer & Systems Engineer

Software Engineer with 7+ years in Laravel and systems engineering. I write about web development, AI-assisted coding, real project experiences, and everything that matters to a professional developer.

Mohammed Alzard
Mohammed Alzard
Mohammed AlzardSoftware Engineer
Mohammed
EngMoh AI
Talk to me directly
Mohammed Al-Zard
EngMoh AI

Hey, I'm Mohammed

Ask me anything — about my work, tech, or just say hi

Quick Start