[Case 97661] I can park a domain on subdomain via API 2 but I can not unpark it

neotitan

Registered
Apr 6, 2014
3
0
1
cPanel Access Level
Root Administrator
Here is the scenario:

I've got a system (domain.com) which enable a user to create his subdomain (user.domain.com). And the user will be able to park his own domain (user.com) on the subdomain. All this operation will be processed through customized web page and php scripts using cpanel API 2.

I don't want to use addon domain module because it is going to create another subdomain. I prefer to use park domain.

I can successfully park a domain on a subdomain. And when I unpark it, it always return success message. However the problem is that the domain is still in the cpanel web interface. And I cannot unpark it from there because the error "Sorry, you do not control the domain user.com". The only way to remove the park domain is via WHM->list subdomains.

Is this a bug? Please shared any insights. I have been stuck for a few days.

Thanks in advance.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

Do you experience the same issue when manually removing the parked domain name through cPanel, or is the issue isolated to using the API function?

Thank you.
 

neotitan

Registered
Apr 6, 2014
3
0
1
cPanel Access Level
Root Administrator
Hi Michael,

This issue only happen in API function. Because in cPanel web interface you cannot park a domain (user.com) on a subdomain (user.domain.com), you can only park it on root domain (domain.com). The tricky thing is you can perform this operation through API.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
You can report this as a bug via:

Submit A Bug Report

Post the ticket number here and we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Internal case 97661 is now open to address this issue. You can monitor our change log for this case number to determine when a resolution has been implemented.

Thank you.