Hi!
I'm using the cPanel xml-api to manage domains/subdomains/etc on a server, and it's works very weird:
The testuser user has "maindomain.com" maindomain and an additional domain "seconddomain.com".
The request I used:
/xml-api/cpanel?cpanel_xmlapi_module=SubDomain&cpanel_xmlapi_func=addsubdomain&dir=/home/testuser/wwwroot/sub.seconddomain.com/&domain=sub&rootdomain=seconddomain.com&disallowdot=0&user=testuser
The effect of the request:
sub.maindomain.com A record created in the maindomain.com's dns zone
sub.seconddomain.com A record created in the seconddomain.com' dns zone
But there is still no sub.seconddomain.com virtualhost in apache config, and still not listed as subdomain on the cPanel user interface (web).
This is a version 11.40 build 24 cPanel/WHM
Please help! (or fix this bug ASAP
)
I'm using the cPanel xml-api to manage domains/subdomains/etc on a server, and it's works very weird:
The testuser user has "maindomain.com" maindomain and an additional domain "seconddomain.com".
The request I used:
/xml-api/cpanel?cpanel_xmlapi_module=SubDomain&cpanel_xmlapi_func=addsubdomain&dir=/home/testuser/wwwroot/sub.seconddomain.com/&domain=sub&rootdomain=seconddomain.com&disallowdot=0&user=testuser
The effect of the request:
sub.maindomain.com A record created in the maindomain.com's dns zone
sub.seconddomain.com A record created in the seconddomain.com' dns zone
But there is still no sub.seconddomain.com virtualhost in apache config, and still not listed as subdomain on the cPanel user interface (web).
This is a version 11.40 build 24 cPanel/WHM
Please help! (or fix this bug ASAP