Create Subdomain via API
Create Subdomain via API
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.
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
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
Also, could a module or extension be made to add subdomains/AName records
Re: Create Subdomain via API
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
http://vestacp.com/docs/API.pdf
CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt
-> viewtopic.php?f=18&t=12610