Automate Client, Website, SSL, Database User, Database Creation

Discussion in 'General' started by Unfaiir, Sep 1, 2016.

  1. Unfaiir

    Unfaiir Member


    Currently I am manually creating a subdomain for each of my web application users in ISPConfig 3. Simply put, each user has exactly one subdomain with one database.

    What I would like to do is automate this process in an ISPConfig 3 friendly way. I want to do this all through PHP, or even a server script called via the PHP exec() function.

    This means I need to automate the ISPConfig 3 functions of creating:
    • one client
    • one website for the new client
    • adding SSL to the new website (wildcard SSL cert)
    • creating one database user for the new client
    • creating one new database for the new website/database user

    What is the simplest way to do this and still keep ISPConfig 3 happy? Thanks in advance!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Use the remote api.
    Unfaiir likes this.

Share This Page