Creates a domain name.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
DomainName String Yes

The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).

AccessKeyId String No xxxx

The AccessKey ID provided to you by Alibaba Cloud.

Action String No CreateDomain

The operation that you want to perform. Set the value to CreateDomain.

Response parameters

Parameter Type Example Description
DomainId String  158910

The ID of the domain name.

RequestId String B49AD828-25D1-488C-90B7-8853C1944486

The ID of the request.


Sample requests

http(s):// Action=CreateDomain
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.