You may sometimes encounter similar issue!!

While trying to add a sub-domain through cPanel, the following error occurred :

Error from domain wrapper: domain.com is owned by another user.


Check and remove the entries for the sub-domain from the following locations :

Remove any entries pertaining to the sub-domain in /var/cpanel/userdata and /var/cpanel/users

Note : Do run /scripts/updateuserdomains because you are editing the file manually.

Remove the sub-domain entries from /var/named/domain.tld.db

Remove the VirtualHost entry for the sub-domain in /usr/local/apache/conf/httpd.conf

Remove any entry for the sub-domain in /etc/named.conf

Once these are removed, you should be able to add the sub-domain through the control panel.