cloudflare · Cloudflare Workers Docs
Workers Routes and domains
Explains how to connect a Worker to the internet using Custom Domains, Routes, or workers.dev subdomains, including the architectural differences and recommended use cases for each.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Routes and domains
Explains how to connect a Worker to the internet using Custom Domains, Routes, or workers.dev subdomains, including the architectural differences and recommended use cases for each.
When To Use
Use when you need to decide whether to connect a Worker to a specific domain, a Cloudflare zone route, or a workers.dev subdomain based on your origin server architecture.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-configuration-routing-routes-and-domains-workflow-guide.md | A guide explaining the different methods for connecting Cloudflare Workers to external endpoints using custom domains, routes, and patterns. | Questions about a guide explaining the different methods for connecting Cloudflare Workers to external endpoints using custom domains... |
What This Skill Covers
- To allow a Worker to receive inbound HTTP requests, you must connect it to an external endpoint such that it can be accessed by the Internet.
- Main sections:
What is best for me?.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/configuration/routing
