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.
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.