Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Scripting / API
  • Search

Create Subdomain via API

Questions regarding the API
Application Programming Interface
Locked
  • Print view
Advanced search
4 posts • Page 1 of 1
ImJay
Posts: 3
Joined: Thu Oct 23, 2014 5:12 am

Create Subdomain via API

Post by ImJay » Thu Oct 23, 2014 5:14 am

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.
Top

ImJay
Posts: 3
Joined: Thu Oct 23, 2014 5:12 am

Re: Create Subdomain via API

Post by ImJay » Sat Oct 25, 2014 10:32 am

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
Top

ImJay
Posts: 3
Joined: Thu Oct 23, 2014 5:12 am

Re: Create Subdomain via API

Post by ImJay » Thu Nov 13, 2014 12:19 am

SOLVED: http://ljasonh.com/create-dns-zone-vestacp-api
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Create Subdomain via API

Post by skurudo » Fri Sep 23, 2016 12:32 pm

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
Top


Locked
  • Print view

4 posts • Page 1 of 1

Return to “Scripting / API”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password