#272 Wildcard question

Closed
opened 1 week ago by fyjzjj3yva · 3 comments

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?

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?
nobody added the
question/discussion
label 1 week ago
nobody commented 1 week ago
Poster
Owner

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`
Poster

Thanks!

Thanks!
fyjzjj3yva closed this issue 1 week ago
nobody commented 1 week ago
Poster
Owner

You're welcome 😊

You're welcome 😊
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.