Skip to content

Commit 06f22c1

Browse files
[CF4SaaS] Add warning about same name as zone (#27169)
* AI-assisted: suggest places and create and apply partial * Fix missing Render on troubleshooting.mdx * Use new partial inside get-started-per-hostname partial * Move caution note higher on create-custom-hostnames.mdx * AI-assited: move caution wrap from partial into files themselves * Adjust note to avoid caution in sequence * Simplify callout content and use explanation on troubleshooting
1 parent 1026aac commit 06f22c1

File tree

5 files changed

+40
-4
lines changed

5 files changed

+40
-4
lines changed

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/domain-support/create-custom-hostnames.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ import { Render, TabItem, Tabs } from "~/components";
1111

1212
There are several required steps before a custom hostname can become active. For more details, refer to our [Get started guide](/cloudflare-for-platforms/cloudflare-for-saas/start/getting-started/).
1313

14+
:::caution[Zone name restriction]
15+
16+
<Render file="same-name-as-zone" product="cloudflare-for-platforms" />
17+
18+
:::
19+
1420
To create a custom hostname:
1521

1622
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/reference/troubleshooting.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ head:
99

1010
---
1111

12-
import { Details } from "~/components";
12+
import { Details, Render } from "~/components";
1313

1414
## Rate limits
1515

@@ -78,6 +78,16 @@ example.com CAA 0 issuewild "ssl.com"
7878

7979
More details can be found on the [CAA records FAQ](/ssl/edge-certificates/troubleshooting/caa-records/).
8080

81+
***
82+
83+
## Custom hostname matches zone name (403 Forbidden)
84+
85+
<Render file="same-name-as-zone" product="cloudflare-for-platforms" />
86+
87+
This configuration will cause a 403 Forbidden error due to DNS override restrictions applied for security reasons. This limitation also affects Worker Routes making subrequests.
88+
89+
***
90+
8191
## Older devices have issues connecting
8292

8393
As Let's Encrypt - one of the [certificate authorities (CAs)](/ssl/reference/certificate-authorities/) used by Cloudflare - has announced changes in its [chain of trust](/ssl/concepts/#chain-of-trust), starting September 9, 2024, there may be issues with older devices trying to connect to your custom hostname certificate.

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/worker-as-origin.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: Learn how to use a Worker as the fallback origin for your SaaS zone
1010

1111
---
1212

13+
import { Render } from "~/components";
14+
1315
If you are building your application on [Cloudflare Workers](/workers/), you can use a Worker as the origin for your SaaS zone (also known as your fallback origin).
1416

1517
1. In your SaaS zone, [create and set a fallback origin](/cloudflare-for-platforms/cloudflare-for-saas/start/getting-started/#1-create-fallback-origin). Ensure the fallback origin only has an [originless DNS record](/dns/troubleshooting/faq/#what-ip-should-i-use-for-parked-domain--redirect-only--originless-setup):
@@ -33,3 +35,11 @@ If you are building your application on [Cloudflare Workers](/workers/), you can
3335
* **Worker**: **None**
3436

3537
5. Click **Save**.
38+
39+
---
40+
41+
:::caution[Zone name restriction]
42+
43+
<Render file="same-name-as-zone" product="cloudflare-for-platforms" />
44+
45+
:::

src/content/partials/cloudflare-for-platforms/get-started-per-hostname.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,22 @@ Before you create a hostname, you need to plan for:
1616

1717
You must complete both these steps for the hostname to work as expected.
1818

19-
:::caution[Important]
20-
19+
:::note
2120

2221
Depending on which method you select for each of these options, additional steps might be required for you and your customers.
2322

24-
2523
:::
2624

2725
### 2. Create custom hostname
2826

2927
After planning for certification and hostname validation, you can create the custom hostname.
3028

29+
:::caution[Zone name restriction]
30+
31+
<Render file="same-name-as-zone" product="cloudflare-for-platforms" />
32+
33+
:::
34+
3135
To create a custom hostname:
3236

3337
<Tabs> <TabItem label="Dashboard">
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
{}
3+
4+
---
5+
6+
Do not configure a custom hostname which matches the zone name. For example, if your SaaS zone is `example.com`, do not create a custom hostname named `example.com`.

0 commit comments

Comments
 (0)