Creates a domain name extension.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes CreateDomainExtension

The name of this action.

Value: CreateDomainExtension

Domain String Yes *

The domain name to be created.

ListenerPort Integer Yes 443

The frontend port of the HTTPS listener.

Value range: 1 to 65535

LoadBalancerId String Yes lb-bp1o94dp5i6earrxxxxxx

The ID of the SLB instance.

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs.

ServerCertificateId String Yes 123157xxxxxxx_166f820xxxxxx_1714763408_709981xxxx

The ID of the certificate used by the domain name.

Response parameters

Parameter Type Example value Description
DomainExtensionId String de-bp1rp7ta19xxxx

The ID of the created domain name extension.

ListenerPort Integer 80

The frontend port used by the SLB instance.

RequestId String A6E7EFC9-0938-40CA-877D-9BEDBD21D357

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=CreateDomainExtension

Response examples

XML format


JSON format


Error codes

See common error codes.