Allow domain exceptions to the check_subdomain_owner

Version 1.45


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 down, to, then DA will check the subdomain.list file for (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!