Error:
Error from domain wrapper: domain.com is owned by another user.
If you are getting this error when trying to add subdomains from your cPanel, here is how to fix it:
1. Remove domain.com from /var/cpanel/users/cpanel-username
2. Run /scripts/updateuserdomains as root user on the server.
3. Remove the virtualhost for domain.com on /usr/local/apache/conf/httpd.conf
4. Remove /var/named/domain.com.db if the file exists. (generally it exists)
5. Remove domain.com from /etc/named.conf
You are now good to add the domain from cPanel.