Dear, on remote.d/sites.inc.php i see that method: sites_web_vhost_subdomain_add This seems the way to create, via API a subdomain (vhost) of a main domain. But when i try to call it, the subdomain (vhost) is created correctly on the interface, but on the filesystem, does not exist anything related on that one. Actually i'm going to "guess" what kind of parameters are needed by this api call, maybe this is the error (some parameter missing or wrongly specificed). Exist some documentations on this? I don't see them on the normal api docs. ty
You can find the docs here: https://git.ispconfig.org/ispconfig/ispconfig3/-/tree/develop/remoting_client
thank you but this method "sites_web_vhost_subdomain_add" is not on this documentation. This mean that i can't use it? I have found the method diving the code...
Ah yes. Some functions are not documented, but you can use them. I don't have a example for adding vhost subdomains, but you might take a look at the .tform.php for adding vhost subdomains to find the used variables and use the domain add example aswell.