With this function an additional subdomain can be assigned to a customer’s web hosting subscription. The return value is the ID of the new data record. If an identical subdomain already exists in the subscription, its ID is returned. Before a subdomain can be created, the corresponding domain must already exist.
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. „/
“).
Field |
Type |
RegExp |
Null? |
Description |
---|---|---|---|---|
|
AuthData |
no |
Authentication data |
|
|
string |
|
no |
Subscription name |
|
string |
|
no |
full subdomain name (FQDN) |
|
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 |
private key of SSL/TLS certificate (PEM-encoded) |
|
|
string |
yes |
SSL-/TLS certificate (PEM-encoded) |
|
|
string |
yes |
SSL/TLS intermediate certificates (PEM-encoded) |
Field |
Type |
Null? |
Description |
---|---|---|---|
|
string |
no |
Data record ID |
|
string[] |
yes |
IP addresses where this domain is configured at |