View Single Post
  #1 (permalink)  
Old 07-09-2009, 09:26 PM
smilesinblues smilesinblues is offline
Registered User
 
Join Date: Nov 2005
Posts: 12
smilesinblues is on a distinguished road
addon with api2 not working

Hi,

after spending a lot of time understanding how to call the API2 calls and which values to pass in URL to create an addon I got the XML output coming out fine but the addon domain does not work. Here is the error.

Code:
- <cpanelresult>
  <apiversion>2</apiversion> 
- <data>
  <reason>Error from domain wrapper: .domain.tld could not be modified because it does not resolve to a valid IP address. Please ask the system admin to check their resolv.conf and their dns trust relationship Ignore any messages of success this can only result in failure!</reason> 
  <result>0</result> 
  </data>
  <func>addaddondomain</func> 
  <module>AddonDomain</module> 
  </cpanelresult>

I am 100% sure the domain's DNS is already updated. Actually the domain was parked to the main domain but in order to test it I deleted it and tried to add as a an addon from my API2 call but it does not work. I then tried to add it as an addon from cpanel and it worked.

Here is the call that I am making:

https://domain.tld:2083/xml-api/cpan...pass=jhg8779hj

Please help.

Regards,
Jaunty
Reply With Quote