Third/fourth/etc-level domains and wildcards

If this is mentioned somewhere I apologize. This is related to wildcards. From what I understand, they cover *.domain.com, which translates to third-level domains. And ..domain.com is not covered.

So my question is, will a wildcard cover text only, or also “deeper” subdomain? As in you’d need to add double wildcards for it to work, if that is possible.

I hope this is understandable, please do tell if not.

Yes, you need to add multiple wildcard identifiers to cover multiple levels.

e.g.

-d "*.example.org" -d "*.staging.example.org" -d "*.live.example.org"

However, wildcards must only occur as prefixes. The following are impossible:

-d "*.*.example.org"

-d "app.*.example.org"
3 Likes

Okay! Thank you for the quick and detailed answer.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.