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

Comments 7 Standard

I got this error when I was trying to add subdomains to one of my cPanel accounts. This happens when cPanel doesn’t remove the subdomain correctly and then it thinks it’s still there so when you try to add it back on you get an error. Here’s how to fix it:

1. Remove domain.com from /var/cpanel/users/cpanel-username

3. Run /scripts/updateuserdomains as root user on the server because you changed the above file manually, this will create adjusted cache files

2. Remove /var/named/domain.com.db if the file exists (it doesn’t always)

3. Remove the virtualhost for domain.com on /usr/local/apache/conf/httpd.conf

4. Remove domain.com from /etc/named.conf

Now you can add the domain back on in cPanel with no problems.

Advertisements

7 thoughts on “Cpanel FIX: Error from domain wrapper: domain.com is owned by another user.

  1. I got problem with subdomain addition.
    lets say i registered domain.com,
    when i needed a subdomain then i created my.domain.com.
    for some reasons i deleted my subdomain through cpanel and i created it over, also from cpanel.
    first time nothing was wrong, but when i repeated the steps : delete and create subdomain, i got the message : “Error from domain wrapper: my.domain.com is owned by another user.”
    although the subdomain was deleted and the folder was removed.
    can your steps above applied to my case?
    will i lose all contents of domain.com ?
    Thanks in advance.

  2. Yes! That was the one of the problems I was getting. If you go to your apache conf files you should be able to manually input the sub domain record and then run the script. That should fix it.

  3. Pingback: Problema al eliminar Addon Dominio - x10Hosting Forums

  4. I have done this before and it worked
    This time I followed these steps to the letter – mydomain does not appear in any of the files but I still have the problem.

    Any ideas?

  5. Simple way is…

    If you are having root access try checking any instances of the domain name

    grep domain.com /etc/userdomains

    If domain found in this file comment out and remove dns from whm.
    please take backup of each file before remove.

    After that uncomment this domain entry after adding dns zone. Also remove the domain entry with system user

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s