Workers or Pages: two products, one dashboard
Workers vs Pages
What it is
Workers and Pages both live under Workers & Pages in the Cloudflare dashboard, but they are different products. A Worker is a script Cloudflare runs at the edge when a request hits a hostname you attached. You write (or deploy) the script; Cloudflare runs it. There is no separate web server for you to manage.
Pages is the product for shipping a website or front-end app: static files (HTML, CSS, JavaScript builds) plus, if you want, small server bits called Pages Functions. You connect a Git repo or upload a build, and Cloudflare hosts the site. Pages is built for frameworks and asset-heavy sites. Workers is script-first: the code is the app.
Both can answer HTTPS on a custom hostname in your zone. The choice is how you build and deploy, not whether Cloudflare can serve the name. Many simple sites can be either. A tiny HTML page can be a Worker that returns a string, or a Pages project that serves files from a folder.
Why it matters
If you are hosting a website, a small app, or an agent harness, picking the wrong product wastes time. Workers fit when the response is computed in code: a tutor page, a JSON API, a redirect helper, a cron-triggered script, or anything that decides what to return per request. Pages fits when you have a static build or a framework output and mostly need files served fast, with optional Functions for a few dynamic routes.
Your day-to-day stack on kosan.xyz and drkotha.com is already Worker-heavy. Knowing the label in the dashboard stops mix-ups: editing a Worker does not change a Pages project, and a Pages deploy does not overwrite a Worker script with the same-looking hostname unless you deliberately bind that name.
Agent harnesses and small GP tools often need request logic, headers, and JSON more than a full static site pipeline. That is why a Worker is usually the shorter path for those. A marketing site or a framework app with many static assets is where Pages earns its keep.
On your account
This tutor is the Worker named cloudflare-tutor on cloudflare.kosan.xyz. The whole page is generated by the script in worker.js. It is not a Pages project. When you redeploy with wrangler, you replace that Worker’s script only.
Many of your kosan.xyz apps are Workers the same way: one script, one hostname, proxied through Cloudflare. drkotha.com works the same when a Worker custom domain or route is attached there. That pattern is Workers, not Pages.
Pages would be the product if you later wanted a Git-connected static site or a framework build on a new hostname, with optional Functions. You do not need to move existing Workers onto Pages. Leave production Workers and DNS alone while you learn the difference; today is only about recognising which product you are looking at.
Do this yourself
These stay in the dashboard, on your side. This site does not change DNS, routes, or other Workers.
- Open the Cloudflare dashboard, go to Workers & Pages, and find the Worker named cloudflare-tutor. Open it and confirm it is listed as a Worker (not a Pages project). Note the hostname cloudflare.kosan.xyz. Do not edit the script, routes, or variables.
- Still in Workers & Pages, open Create (or the button that starts a new project). Look at the choice between Worker and Pages so you can see both product paths. Do not finish creating anything, or if you want a throwaway trial, create a Pages project named only tutor-pages-lesson, open it once to confirm the type, then delete that same project. Do not attach a custom domain, and do not change any existing Worker or DNS row.