Hi,
We are using cPanel's API to create the hosting account but the proxy domains (webmail,cpanel, whm) are being added automatically. But this works fine perfectly when we create the account manually from the WHM.
Following settings in WHM are already checked:
---------------------------------------------------------------------Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)
Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)
Allow users to create cpanel, webmail, webdisk and whm subdomains that override automatically generated proxy subdomains
We are facing one more really strange issue with the accounts & email created using API.
While creating the hosting account using API, we are added couple of email account using cPanel API too (API version 2)
This process works perfectly fine.
Now, we have another script which us to modify the account from our admin panel, so when we modify the domain from say, example.com to example1.com, the emails created using example.com domain remains as they are and the new emails with example1.com gets created automatically.
Where, in this process, we are not touching the code where it plays with email accounts.
I am not sure if anyone has ever faced this issue, I am not sure whether it's happening due to some bug or due to incorrect implementation of the code from our side.
---------------------------------------------------------------------
And finally, the last issue.. we are not able to get the API access for any reseller accounts. But it works only when we assign all root privileges to that account. (Yes, that reseller has rights to create accounts and all etc..)
Any kind of help in these issues is highly appreciated.
Regards,
Deep



LinkBack URL
About LinkBacks
Reply With Quote





