Show warning if subdomain exists as full domain

Version 1.58

Bugfix
Finished

When creating a full domain called "sub.domain.com", DA will now parse through all local zones looking for any instances where "sub" or "sub.domain.com." exists as an A, AAAA or CNAME record. If a match is found, the warning will be added to the output, eg: Domain Created Details Domain Created Successfully A subdomain with the same name already exists on the system under another domain. This may give unexpected results. This does also handle sub.sub.domain.com cases where the zone name might be sub.domain.com. ---- Similarly, when creating a subdomain, if a zone with that same name exists, this warning is added to the output: A full domain/zone with this name already exists. This may give unexpected results.

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