Suppose these domains do not work with LocalCDN:
```
domain.com
sub.domain.com
bar.sub.domain.com (Sub- subdomain)
```
Can `*.domain.com` alone match all the above?
No, because they are different domains. Wildcards always affect only one level of a domain. You look at the domains hierarchically and read them from right to left:
com
|
--------------domain------------
/ / \ \
/ / \ \
/ / \ \
sub1 sub2 sub3 sub4
| |
| |
mail mail
A good example are certificates:
The wildcard certificate *.domain.com is valid for sub1.domain.com, sub2.domain.com, sub3.domain.com and sub4.domain.com, but not domain.com or mail.sub1.domain.com
No, because they are different domains. Wildcards always affect only one level of a domain. You look at the domains hierarchically and read them from right to left:
```
com
|
--------------domain------------
/ / \ \
/ / \ \
/ / \ \
sub1 sub2 sub3 sub4
| |
| |
mail mail
```
A good example are certificates:
The wildcard certificate `*.domain.com` is valid for `sub1.domain.com`, `sub2.domain.com`, `sub3.domain.com` and `sub4.domain.com`, but not `domain.com` or `mail.sub1.domain.com`
Suppose these domains do not work with LocalCDN:
Can
*.domain.com
alone match all the above?No, because they are different domains. Wildcards always affect only one level of a domain. You look at the domains hierarchically and read them from right to left:
A good example are certificates:
The wildcard certificate
*.domain.com
is valid forsub1.domain.com
,sub2.domain.com
,sub3.domain.com
andsub4.domain.com
, but notdomain.com
ormail.sub1.domain.com
Thanks!
You're welcome 😊