Skip to content

Commit 3d386d4

Browse files
committed
Update DO isolation docs: ctx.exports works without binding, add verification guide
1 parent c6f6ebc commit 3d386d4

7 files changed

Lines changed: 331 additions & 34 deletions

File tree

Lines changed: 64 additions & 0 deletions
Loading
Lines changed: 51 additions & 0 deletions
Loading
Lines changed: 53 additions & 0 deletions
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Domain management just got easier — do it from your Worker, without leaving your Worker
3+
description: A new Domains tab in the Cloudflare dashboard lets you purchase a new domain or add an existing one and connect it to your Worker, alongside everything else you need to manage routing.
4+
products:
5+
- workers
6+
date: 2026-05-12
7+
---
8+
9+
import { DashButton } from "~/components";
10+
11+
The new **Domains** tab in your Worker's dashboard brings every routing surface into one place — and for the first time, lets you [purchase a new domain](/registrar/) through Cloudflare Registrar and automatically connect it to the Worker you bought it for.
12+
13+
{/* TODO: add screenshot at ~/assets/images/workers/changelog/domains-tab.png */}
14+
{/* ![Screenshot of the new Domains tab in the Workers dashboard](~/assets/images/workers/changelog/domains-tab.png) */}
15+
16+
## Two paths to a custom domain
17+
18+
**Need a new one?** Click **Purchase Domain** to register a domain through [Cloudflare Registrar](/registrar/) without leaving your Worker. When the purchase completes, the domain is connected to the Worker automatically — no copying hostnames between products, no separate DNS step.
19+
20+
**Already own a domain?** Click **Connect Domain** to attach an existing zone on your account. The same flow supports both [custom domains](/workers/configuration/routing/custom-domains/) and [route patterns](/workers/configuration/routing/routes/), so you can pick the routing model that fits your Worker.
21+
22+
## Everything else routing-related, in one tab
23+
24+
The Domains tab is also the new home for the rest of your Worker's routing configuration, so you don't have to dig through Settings:
25+
26+
- [Custom domains](/workers/configuration/routing/custom-domains/) and [routes](/workers/configuration/routing/routes/)
27+
- Your [`workers.dev`](/workers/configuration/routing/workers-dev/) subdomain
28+
- [Preview URLs](/workers/configuration/previews/)
29+
- [Cloudflare Access](/cloudflare-one/access-controls/) controls for securing each route
30+
31+
## Try it out
32+
33+
1. In the Cloudflare dashboard, go to **Workers & Pages**.
34+
35+
<DashButton url="/?to=/:account/workers-and-pages" />
36+
37+
2. Select a Worker.
38+
3. Open the new **Domains** tab.
39+
40+
For more on routing options for Workers, refer to [Routing](/workers/configuration/routing/).

src/content/docs/workers/previews/concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Concretely, this means:
9797

9898
This isolation applies only when the class is defined in the same Worker. If you set `script_name` on a Durable Object or Workflow binding, the binding points at another Worker's production instance and this isolation does not apply.
9999

100-
For Durable Objects and Workflows defined in the same Worker, you can also access them via [`ctx.exports`](/workers/runtime-apis/context/#exports), but the binding must still be declared in the `previews` block or dashboard defaults. Refer to [Durable Object isolation](/workers/previews/guides/durable-object-isolation/) for a full walkthrough.
100+
For Durable Objects and Workflows defined in the same Worker, you can also access them via [`ctx.exports`](/workers/runtime-apis/context/#exports) without declaring a binding — isolation works with just the migration. If you prefer the `env` binding pattern, declare the binding in the `previews` block or dashboard defaults. Refer to [Durable Object isolation](/workers/previews/guides/durable-object-isolation/) for a full walkthrough.
101101

102102
### Shared across Previews
103103

0 commit comments

Comments
 (0)