The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems to park domains using API 2

Discussion in 'cPanel Developers' started by Otávio Serra, Aug 7, 2017.

Tags:
  1. Otávio Serra

    Otávio Serra Member

    Joined:
    Apr 27, 2015
    Messages:
    8
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hi, I need to park provisory domains to accounts using one subdomains of my main account. Using WHM painel is easy and simple and work correctly (Home » DNS Functions » Park a Domain). But via cPanel API 2 it don't permit and throw error message: (XID uqjh9h) The domain sub.domain.com may not be created by USER because domain.com is already owned by another user.

    Anyone knows what I can do to fix this problem or it's impossible?
     
  2. carlose

    carlose Registered

    Joined:
    Feb 1, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    Root Administrator
    Hi, Otávio!

    This is a limitation of cPanel that you can modify via the Tweak Settings, as root, in WHM. Enabling this option will allow a cPanel user to create a sub-domain, of a domain that another cPanel user owns. Note this is not recommended for security purposes. However, it is possible, if you simply follow those instructions. I hope this helps!

    Sincerely,
    Carlos E
     
  3. Otávio Serra

    Otávio Serra Member

    Joined:
    Apr 27, 2015
    Messages:
    8
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see you were able to find an answer to your question. Thank you for updating us with the outcome.
     
Loading...

Share This Page