With this function an additional domain can be assigned to a customer’s web hosting subscription. The return value is the ID of the new data record. If an identical domain already exists in the subscription, its ID is returned.
If the field web
is set to NULL
, the web space for this domain is disabled. For “normal” (activated) webspace, the field web must be set to an empty string (“”) or to any directory (e.g. “/
”).
If the domain is created on DNS servers managed by LiveConfig, the DNS template must be specified in the parameter dnstemplate
. Optionally, the serial number can then be given in the serial
parameter - otherwise LiveConfig sets this by default in the format YYYYMMDD01
.
Field |
Type |
RegExp |
Null? |
Description |
---|---|---|---|---|
|
AuthData |
no |
Authentication data |
|
|
string |
|
no |
Subscription name |
|
string |
|
no |
Full domain name |
|
integer |
|
yes |
Enable e-mail with this domain? ( |
|
string |
|
yes |
Webspace destination (directory, or URL for redirect) |
|
string |
|
yes |
Name of IP group (for webspace) |
|
string |
|
yes |
PHP version code, e.g. |
|
string |
|
yes |
Name of DNS template if this domain should be configured on own nameservers |
|
integer |
|
yes |
Serial number of DNS zone |
|
string |
yes |
private key of SSL/TLS certificate (PEM-encoded) |
|
|
string |
yes |
SSL-/TLS certificate (PEM-encoded) |
|
|
string |
yes |
SSL/TLS intermediate certificates (PEM-encoded) |
|
|
integer |
|
yes |
Enable DNSSEC with this domain ( |
Field |
Type |
Null? |
Description |
---|---|---|---|
|
string |
no |
Data record ID |
|
string[] |
yes |
IP addresses where this domain is configured at |
The data record ID is customer-specific encrypted.