Hi Cpanel Community. Apologies on advance if this was ever addressed, I've searched everywhere on the forum and couldnt find a similar problem. I manage close to 11000 (eleven k) domains under a VPS hosting account (with root WHM and cpanel ). Im not a reseller, just a large domain portfolio care taker. Due to the large number of domains, I took the direction of implementing a tool-box that allows simple queries ( list email, list subdomains, ... ) and also it allows SubDomain creation, Batch SubDomain Creation, Email boxes creation/delete, Subdomain Delegation ( A Record ) - everything is working fine except with the addaddondomain. When I add ( via API 2 and php ) an add on domain, the domain is created, a subdomain of the main domain is also created, and the result message is success "Add On domain successfully parked on .. " however, only the subdomain+maindomain resolves, the actual addon domain doesnt. Here's the flow in detail: -via php ( xml-api.php - api2 ) -array arg$ is 'dir', 'newdomain' and 'subdomain' For example: main domain: themaindomain.com Add On Domain to be added: anotherdomain.com so the arg$ value becomes newdomain = anotherdomain.com subdomain = maindomaincom dir = /public_html/anotherdomain The result is: anotherdomaincom.maindomain.com but, anotherdomain.com doesnt resolve ( as in not live ) -I noticed that the DNS Zone for newdomain.com is created and visible in WHM but it is not visible from Cpanel's Zone Edit. -the DNS record of the newdomain.com appears OK ( in WHM ) - doesnt show in cpanel. -im authenticating using the cpanel user ( i tried root but same result ) -the subdomain newdomaincom.maindomain.com is present in Cpanel ( under the accordingly user used in the api call ) 's Subdomains page .. ( but not in Dns Edit - only on dns edit at WHM ) i have been fighting with this for 4 days now. Questions -When I use addaddondomain, it should show in both cpanel and whm, right ? -what is the serial # on the whm edit zone page ? -Am I supposed to handle the DNS part as well ? ( addZone ) ? I am under the impression that the api covers it all, or am I mistaken ? -The Park/Unpark Main Domain/Subdomain relation seemed clear to me, but now after days, im getting confused for real. What am I doing wrong ? really appreciative if someone could help me out. below is the excerpt from my code: [xmlapi.php] $cpaneluser = 'cpaneluser' $password = 'password'; $box = xxx.xxx.xxx.xx $client = new xmlapi($box); $client->set_output('json'); $client->password_auth($cpaneluser, $password ); $arg$ = array ('dir' => $dir, 'newdomain' => $domain, 'subdomain' => $trimmeddomain ); $resp = $client->api2_query ( $cpaneluser, 'AddonDomain', 'addaddondomain', $arraydata ); thanks in advance for anyone willing to save me. thanks, ps: I did play with the domain tweaks ( whm ) but without any further success. ps2: I realize the above code needs to be highlighted in a special format here in the thread, but I couldnt find the option, apologies.