Allow domain exceptions to the check_subdomain_owner

Version 1.45

Feature
Finished

If you create the file: /usr/local/directadmin/data/admin/allowed_sub_domains.list and add a list of one or more domains in it, you can then override the: check_subdomain_owner=1 for this domain, in case you want to use this domain for subdomain hosting (as full domains) Ensure you chown the file to diradmin:diradmin. If there is a match (starting from the top domain.com down, to sub.domain.com), then DA will check the subdomain.list file for domain.com (under the true owner, if that's on the box) and if a subdomain already matches that name, the creation will abort. The true domain's subdomains have priority if they already exists.

Interested to try DirectAdmin? Get a 30-day Free Trial!