Create hosting and manage dns from API

Discussion in 'Developers' Forum' started by kodmanyagha, Oct 20, 2018.

  1. kodmanyagha

    kodmanyagha New Member

    I can connect my ispconfig server with api. I looked to this document:

    I can connect via soap and calling "sites_web_domain_add" method, looking to dbispconfig database and see the added line in table. But it isn't affecting reality. ispconfig doesn't create hosting. How can I add real hosting, manage dns etc.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If the site was not created, then you must have missed a setting in the $params array. Compare the record that your function call created in the web_domain table with a site you created with the ISPConfig GUI and then adjust the $params array that you use for the function call so that it contains all required parameters.
  3. kodmanyagha

    kodmanyagha New Member

    awesome it worked :) I was look to /usr/local/ispconfig/interface/web/sites/form/web_childdomain.tform.php file for necessary fields. The real necessary fields are in the table. Thanks

Share This Page