If you want the site to accept requests to specific domains and subdomains, instead of handling requests to non-existent subdomains use aliases.
For the site to accept all requests to subdomains that were not added in the section "My sites", Do the following:
This option must be enabled if the site needs to be set wildcard-certificate from Let's Encrypt.