With this function, a new web hosting subscription can be created.
If the new web hosting subscription is created within a reseller subscription, the name of the respective reseller subscription must be specified in resalecontract
. If resalecontract
is left empty, the fields webserver
, mailserver
and dbserver
must be used to specify the names of the servers on which the respective services (webspace, email, databases) shall be deployed.
If the field plan
is left blank, an individual hosting package will be set up. Otherwise, the specified hosting plan is used as a basis and differing parameters (webspace, databases, etc.) are managed as „special settings“.
The subscription name (subscriptionname
) must be unique across the system.
If the password starts with $1$
, LiveConfig assumes that it is already an MD5 password hash and not a plain text password. This is then written unchanged as a password in /etc/shadow
. However, this does not work on systems with SELinux activated!
If the field customerid
is left blank, LiveConfig creates this hosting subscription under „My hosting“.
Field |
Type |
RegExp |
Null? |
Description |
---|---|---|---|---|
|
AuthData |
no |
Authentication data |
|
|
string |
|
no |
unique subscription name |
|
string |
|
yes |
Password for the subscription account (e.g. FTP password) |
|
string |
|
yes |
Name of the reseller subscription under which this subscription is to be created |
|
string |
|
yes |
Name of the web server on which the webspace is to be set up |
|
string |
|
yes |
Name of the mail server on which the mailboxes are to be set up |
|
string |
|
yes |
Name of the database server for this subscription |
|
string |
|
yes |
ID of the customer to whom the contract is to be assigned ( |
|
string |
|
yes |
Name of the hosting plan |
|
integer |
|
yes |
Maximum number of customers for resellers ( |
|
integer |
|
yes |
Possibly different number of users ( |
|
integer |
|
yes |
Possibly different webspace size (MB) ( |
|
integer |
|
yes |
Possibly different SSI setting (Server-Side Includes) |
|
integer |
|
yes |
Possibly different PHP mode ( |
|
integer |
|
yes |
Possibly different CGI setting |
|
integer |
|
yes |
Possibly different SSL setting (HTTPS) ( |
|
integer |
|
yes |
Possibly different number of cron jobs ( |
|
integer |
|
yes |
Possibly different number of installable web apps ( |
|
integer |
|
yes |
Possibly different number of FTP accounts ( |
|
integer |
|
yes |
Possibly different shell access ( |
|
integer |
|
yes |
Possibly different number of databases ( |
|
integer |
|
yes |
Possibly different number of subdomains ( |
|
integer |
|
yes |
Possibly different number of external domains ( |
|
integer |
|
yes |
Possibly different number of mailboxes ( |
|
integer |
|
yes |
Possibly different number of e-mail addresses ( |
|
integer |
|
yes |
Possibly different mail storage size ( |
|
integer |
|
yes |
Possibly different IP traffic limit ( |
|
integer |
|
yes |
Possibly different web statistics setting ( |
|
integer |
|
yes |
Possibly different IPv4 address filtering in |
|
integer |
|
yes |
Possibly different IPv6 address filtering in |
|
string |
|
yes |
Optional comment |
Field |
Type |
Null? |
Description |
---|---|---|---|
|
string |
no |
Data record ID |
|
string |
no |
Subscription name |