Skip to content

Commit 5684e59

Browse files
committed
hostname format restrictions
1 parent d04614b commit 5684e59

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/private-net/cloudflared/connect-private-hostname.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ This section covers how to enable remote access to a private hostname applicatio
4545

4646
### 1. Connect the server to Cloudflare
4747

48+
Hostname must be unique for an account (1:M mapping from hostname to Tunnel)
49+
50+
<Details header="Hostname format restrictions">
51+
- Less than 255 characters
52+
- Leading wildcards (`*`) and dots (`.`) are allowed but trimmed off. For example, `*.internal.local` becomes `internal.local`.
53+
- Ending dots (`.`) are allowed but trimmed off.
54+
- No wildcards (`*`) in the middle. For example, `foo*bar.internal.local` is not allowed.
55+
- Hostnames with non-Latin characters must be Punycode encoded and include the [ACE prefix](https://en.wikipedia.org/wiki/Punycode#ACE_prefix_for_internationalized_domain_names). For example, to represent `例.internal.local`, enter `xn--fsq.internal.local`.
56+
</Details>
57+
58+
4859
### 2. Set up the client
4960

5061
<Details header="Feature availability">

src/content/partials/cloudflare-one/access/add-target.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To create a new target:</p>) :
1919
1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Networks** > **Targets**.
2020
2. Select **Add a target**.
2121
3. In **Target hostname**, enter a user-friendly name for the target resource. We recommend using the server hostname, for example `production-server`. The hostname does not need to be unique and can be reused for multiple targets. Hostnames are used to define the subset of targets included in an infrastructure application and are not used in DNS address resolution.
22-
<Details header="Format restrictions">
22+
<Details header="Hostname format restrictions">
2323
- Case insensitive
2424
- Contain no more than 253 characters
2525
- Contain only alphanumeric characters, `-`, or `.` (no spaces allowed)

0 commit comments

Comments
 (0)