Creating new virtual host using API and PHP

Discussion in 'Tips/Tricks/Mods' started by reverse, May 23, 2012.

  1. reverse

    reverse New Member

    Hi. I want to try ISPConfig3 for a project and would like to know some of the stuff below. I tried to search but cant find anything. Maybe I missed it.

    Anyway, the questions:

    Is it possible for ISPConfig3 to create a new virtualhost using PHP script though API like CPanel does?

    While creating the vhost, can I select from a multiple selection of package? (diff quota, disk space for each package)

    Can each vhost have a bandwidth and disk space meter that can be called from api?

    Please point me to the right direction. Thank you.

    note: I will use Debian 6 for this.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig has a remote API, so you can create websites, email domains etc. with a php script. All options that are available in ispconfig interface are also available in the api. See documentation and example scripts in the remote_client directory of the ispconfig 3 tar.gz.

Share This Page