Hostname
Description
This match type allows you to match based on the hostname, a fully qualified DNS name that resolves to an address record.
A Hostname match is based on the name found in the request’s host header. You can choose one or more of the property hostnames to match, or you can enter a different one.
Cloudlets Supported
All Cloudlets support this match type.
Fields
For this match type, enter the hostname in the text box provided.
If you have a large number of values, you can paste them in if you separate them with a space, comma, or carriage return.
Wildcards
The hostname match supports these wildcards:
Wildcard | Description | Example |
---|---|---|
* | matches zero or more characters | The rule includes a match where the hostname value is example.*. Some possible valid results for this wildcard are example.com, or example.co.uk. |
? | matches a single character | The rule includes a match where the hostname value is example?.com. Some possible invalid results are: examples.com., or example1.com.. |
Operators
This match type uses these operators:
Value | The rule is true when | Example |
---|---|---|
is one of | the incoming request includes one of the hostnames listed in the rule’s if clause. | The rule includes a match where the hostnames listed are example.com and example.org. In this instance, only requests coming from either example.com and example.org are valid. |
is not one of | the incoming request does not include one of the hostnames listed in the rule’s if clause. | The rule includes a match where the hostnames listed are example.com and example.org. In this instance, any request that does not come from either example.com and example.org is true. |
Updated about 3 years ago