Adding Domain Names in Batches
If multiple domain names need to be connected to AAD, you can add them in batches using XML files.
Adding Domain Names to AAD in Batches
- Prepare the .xml domain name file based on the following example.
<DomainList> <DomainConfig> <Domain>example.domain.com</Domain> <InstanceConfig> <InstanceList>CAD-159</InstanceList> </InstanceConfig> <RealServerConfig> <ServerPortList>80,443</ServerPortList> <ServerList>xx.xx.xx.xx</ServerList> </RealServerConfig> <CertificateConfig> <Certificate>certificateName</Certificate> </CertificateConfig> </DomainConfig> <DomainConfig> <Domain>demo.domain.com</Domain> <InstanceConfig> <InstanceList>CAD-169,CAD-179</InstanceList> </InstanceConfig> <RealServerConfig> <ServerPortList>80,443</ServerPortList> <ServerList>learn.domain.com</ServerList> </RealServerConfig> </DomainConfig> </DomainList>Table 1 Parameter description Parameter
Description
<Domain>example.domain.com</Domain>
example.domain.com indicates the name of the domain to be added. Only one domain name can be set for this field.
<InstanceList>CAD-159</InstanceList>
CAD-159 indicates the ID of the AAD instance. Use commas (,) to separate multiple instances.
<Certificate>certificateName</Certificate>
certificateName indicates the certificate used by the HTTPS port. If there is no HTTPS port, this parameter can be ignored.
<RealServerConfig><ServerPortList>80,443</ServerPortList><ServerList>xx.xx.xx.xx</ServerList></RealServerConfig>
Origin server details
- 80,443 indicates the port number of the origin server. Use commas (,) to separate multiple port numbers.
- xx.xx.xx.xx indicates the origin server address. Use commas (,) to separate multiple addresses.
- Both origin server IP addresses and origin server domain names are supported, but they cannot be used at the same time.
The website configuration parameters must start with <DomainList> and end with </DomainList>, with the parameter information for the websites enclosed in between. The configuration parameters for each individual website start with <DomainConfig> and end with </DomainConfig>, enclosing the parameters related to that website configuration. For details, see Table 1. Each time you add a domain name, you must add a new <DomainConfig>...</DomainConfig> structure.
- Log in to the AAD console.
- In the navigation pane on the left, choose . The Domain Name Access page is displayed.
- Click Batch Add.
- Click Upload file and select the local .xml domain name file. Figure 1 Uploading the domain name file
- Click Close. Return to the Domain Name Access page. The newly added domain name is displayed in the domain name list.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot