When we try to add an addon domain domain.com from Cpanel got this kind of error:
Error from park wrapper: domain.com is owned by another user.
Reason:
It might be due to the conflict of some entries in configuration files or some files.
Solution:
We need to remove those entries/files from the server manually.
Check the entries of domain.com in these files. If there any entries remove it.
1. /var/cpanel/users/<username>
2. /etc/named.conf
Restart named if you make any changes in named.conf
3. /etc/httpd/conf/httpd.conf
Restart httpd if you make any changes in httpd.conf
4. /etc/localdomains
5. /etc/userdomains
6. /etc/trueuserdomains
7. /etc/trueuserowners
Check these files and remove it
1. /var/named/domain.com.db
2. /etc/valiases/domain.com
3. /etc/vdomainaliases/domain.com
4./etc/vfilters/domain.com
Check for the directory domain.com in these locations and remove:
1. /home/<username>/public_html/domain.com
2. /home/<username>/etc/domain.com
Run this script:
1. /scripts/updateuserdomains
Restart Cpanel
# /etc/init.d/cpanel restart
Retry to add the addon domain domain.com
Nguồn http://manuuus.co.in

