• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Configuration of multi-level subdomains

m3lezZ

Regular Pleskian
Plesk Guru
Can you tell me a tip or a guide to configure this most skillful? I have a relatively large number of subdomains on my system
I would not like to create every single domain.

For example, a way to define a default directory for unconfigured domains? Then you could pass on the .htaccess accordingly.


Best regards,
Max
 
Not sure whether a wildcard subdomain would do? You could create *.<domain>.<tld> which would catch all undefined subdomains into that document root directory. From there you could treat them by an .htaccess file.
 
Basically it was all * .domain.tld refer to the system and are not created in Plesk via a "default .htaccess" to forward a page, so you would not have to create all "wildcard subdomains" in Plesk ,

Thanks @Peter Debik , your answer helped me. Looks like there is no way to fix this without creating it in Plesk.
 
Back
Top