Skip to main content

Domain already exists in the userdata

Comments

8 comments

  • Saranath Ishara
    @cPanelMichael Help me :)
    0
  • gigapro
    It might be possible that the addon domain you are trying to create is being already used as a primary domain for one of the accounts or may be it has been used as an addon domain or parked domain for other domains and accounts. If his is the case, then you have to first remove it and then you can add it as an addon domain.
    0
  • cPanelLauren
    I would go with exactly what @gigapro said. You'd need to look through the other addon and parked domains to ensure that it doesn't already exist. One way to do this via API might be to use the whmapi1 function to find out more information on what's in userdata by using the domainuserdata call here: WHM API 1 Functions - domainuserdata - Developer Documentation - cPanel Documentation Thanks!
    0
  • Sujoy Dhar
    I would go with exactly what @gigapro said. You'd need to look through the other addon and parked domains to ensure that it doesn't already exist. One way to do this via API might be to use the whmapi1 function to find out more information on what's in userdata by using the domainuserdata call here:
    0
  • tabarnhart
    i had to remove the addon domain name from Alias.
    0
  • postcd
    i had to remove the addon domain name from Alias.

    Yes, this action in my case not deleted site data or database. Changing primary domain then worked, yet the site appeared suspended even account was not. Suspending/unsuspending not helped. But after some minutes site started showing OK. Just wanted to mention, it may help someone.
    0
  • cPanelAnthony
    Thanks for the heads up!
    0
  • Vander Host

    Many years later I want to point out that that during disaster recovery and JetBackup restores, we had a lot of this. cPanel now has an article that addresses this problem:

    https://support.cpanel.net/hc/en-us/articles/360047740094-The-already-exists-in-the-userdata-error

    According to that you have to delete the domain's owner:

    will have to be removed from the account it is on before it can be added to the intended account

    0

Please sign in to leave a comment.