These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Concurrent Virtualmin Domain creation on the new forum.
We are using Virtulamin API to create websites on the fly, after a user pays for the service.
Would like to know what is the intended behavior when multiple concurrent calls are made to the create_domain API function.
Virtualmin should work fine if multiple domains are created at the same time - we have locking in the code to prevent file corruption or creation of duplicate domains. In practice this may mean that one domain has to complete creation before the other starts, but as a user of the API this should be invisible..
''