Page 1 of 1

Create Subdomain via API

Posted: Thu Oct 23, 2014 5:14 am
by ImJay
Hello all, I'm new here.

Just wondering if there was some way to create a subdomain from a script or API call (using the params of 'subdomain name' and 'destination IP' + TTL if possible).

Or if anyone knows of any other way to do this with PHP.


- Jay.

Re: Create Subdomain via API

Posted: Sat Oct 25, 2014 10:32 am
by ImJay
Additionally if I edit the zone file manually and restart the DNS server, would Vesta pick the changes up, or would it even reset/remove them?

Also, could a module or extension be made to add subdomains/AName records

Re: Create Subdomain via API

Posted: Thu Nov 13, 2014 12:19 am
by ImJay

Re: Create Subdomain via API

Posted: Fri Sep 23, 2016 12:32 pm
by skurudo
API documentation and examples:
http://vestacp.com/docs/API.pdf

CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt

-> viewtopic.php?f=18&t=12610