Posts by theemstra

    At this moment we don't support LDAP, so you could wait for a supported version of i-MSCP that provides an API, but it's not yet on the roadmat (maybe @Nuxwin) can tell what version it's planned for. I think 2.0.0.
    In 2.0.0 there will be an API, the control panel talks with the API to perform it's actions.


    So for now I guess your best option would be your first idea. Create a drupal module that writes to the database directly.
    Maybe nuxwin has more thoughts?

    I'd like to reply to the comment of kess, with servers that have multiple IP's, this might bring troubles.


    Imagine this:
    server1 has 1.2.3.4 and 1.3.2.4
    server2 has 2.3.4.5 and 2.3.5.4


    Now you use the same DNS records as mentioned:
    *.server1.mydomain.tld A 1.2.3.4
    *.server2.mydomain.tld A 2.3.4.5


    Domains that are configured for 1.3.2.4 and 2.3.5.4 will now no longer load, because apache is configured for requests to a specific IP.


    An option to overcome this problem would be to use specific IP-related DNS records, for ex:


    *.ip1.server1.mydomain.tld in A 1.2.3.4
    *.ip2.server1.mydomain.tld in A 1.2.4.3
    *.ip1.server2.mydomain.tld etc etc


    Another possible solution is the idea of @theqkash, even though he might not have meant it this way.
    It could be testdomain.com.server1.mydomain.tld.
    You could allow alias domains and subdomains this way as well.


    Anyone else any ideas?