Skip to content

Commit d1f8738

Browse files
hostname management
1 parent aa8df8b commit d1f8738

File tree

3 files changed

+42
-31
lines changed

3 files changed

+42
-31
lines changed

public/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,7 @@
12391239
/turnstile/migration/migrating-from-recaptcha/ /turnstile/migration/recaptcha/ 301
12401240
/turnstile/migration/migrating-from-hcaptcha/ /turnstile/migration/hcaptcha/ 301
12411241
/turnstile/concepts/widget-types/ /turnstile/concepts/widget/ 301
1242+
/turnstile/concepts/domain-management/ /turnstile/concepts/hostname-management/ 301
12421243

12431244
# waf
12441245
/waf/about/ /waf/concepts/ 301

src/content/docs/turnstile/concepts/domain-management.mdx

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Hostname management
3+
pcx_content_type: reference
4+
sidebar:
5+
order: 2
6+
7+
---
8+
9+
By default, all widgets can have up to 10 hostnames associated with a widget. A widget requires at least one hostname to be entered.
10+
11+
Only Enterprise Bot Management and Enterprise Turnstile customers can have this limit increased. Contact your account team to increase your hostname limit.
12+
13+
You must specify a list of hostnames when creating a widget. The widget can only be used on these hostnames and will not work on any other hostnames. You can use subdomains to restrict the widgets further.
14+
15+
The hostname should not contain a scheme `http://` or `https://`, a port `443`, or a path `/`.
16+
17+
Specifying a subdomain is optional.
18+
19+
For example, using the `www.example.com` value will allow widgets on the following hostnames:
20+
21+
- `www.example.com`
22+
- `abc.www.example.com:8080`
23+
24+
but not on the following hostnames:
25+
26+
- `example.com`
27+
- `dash.example.com`
28+
- `cloudflare.com`
29+
30+
When the widget is embedded on a hostname not listed, it will show an error message.
31+
32+
:::note
33+
34+
Enterprise Bot Management customers can remove the hostname validation requirement for a widget. For more information on this feature, contact your account team.
35+
:::
36+
37+
## Optional hostname validation
38+
39+
Only Enterprise Bot Management and Enterprise Turnstile customers can have the optional hostname validation entitlement.
40+
41+
By default, a widget requires at least one hostname to be entered. With this entitlement, you can create and use a widget without entering any hostnames for the widget. Contact your account team to enable this entitlement.

0 commit comments

Comments
 (0)