Hi! I'm wondering if there's a way to create a new domain (plus ftp and database accounts) for a particular reseller by any kind of scripting language.
script for domain creation
- redcloud
- Closed
-
-
there is, in any script language that runs on linux and has mysql support. shell, perl, php, python...
-
-
Maybe it's possible with plugin API from i-MSCP
-
RemoteBridge plugin is ready.
I'd tested it with JoomISP to create user, add alias, delete users, suspend users, and unsuspend users.Nuxwin need to review the code because this plugin can have a security issue which i didn't saw...
-
-
I found this which looks iteresting
http://wiki.i-mscp.net/doku.ph…to:use_command_line_toolsbut could it work with 1.1.0 rc3?
-
I found this which looks iteresting
http://wiki.i-mscp.net/doku.ph…to:use_command_line_toolsbut could it work with 1.1.0 rc3?
Hello, I'm the creator of those scripts, they're ready until the previous version (1.1.0rc2), in the current release some domain statuses changed, so I've to adapt the code to fix it, but I'm in the process of doing it.
The code quality is not good, but still it does the job. -
-
Hello, I'm the creator of those scripts, they're ready until the previous version (1.1.0rc2), in the current release some domain statuses changed, so I've to adapt the code to fix it, but I'm in the process of doing it.
The code quality is not good, but still it does the job.Hi! thank you for your reply. At the moment I just need the creation functionality (no changes, no deletions). Are the current scripts ready to go just for this purpose?
-
I'm trying to run this command
php domain.php --action 'create_subdomain' --domain 'abcd.de' --subdomain 'test' --password 'test12345'
and I receive this
PHP Fatal error: Class 'ispCP_Registry' not found in /var/www/virtual/abc.de/htdocs/ispcp-cli/domain.php on line 167
-
-
ispcp? where you downloaded the scritps? it seems to be a very old one. get the current version from here http://forum.i-mscp.net/Thread-Command-line-tools-for-i-mscp
[hr]
git clone https://bitbucket.org/aseques/cli-tools-ispcp.git
[hr]
oh, wait, use domain_imscp.php
[hr]
and rename config.php.dist to config.php and change the values there to meet your setup -
ispcp? where you downloaded the scritps? it seems to be a very old one. get the current version from here http://forum.i-mscp.net/Thread-Command-line-tools-for-i-mscp
[hr]
git clone https://bitbucket.org/aseques/cli-tools-ispcp.git
[hr]
oh, wait, use domain_imscp.php
[hr]
and rename config.php.dist to config.php and change the values there to meet your setupMany thanks, this is the magic key: domain_imscp.php
Please, update the wiki page http://wiki.i-mscp.net/doku.ph…:use_command_line_tools&s[]=cli -