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.
- Log in to the management console.
- Select a region in the upper part of the page, click in the upper left corner of the page, and choose . The Anti-DDoS Service Center page is displayed.
- In the navigation pane on the left, choose Domain Name Access page is displayed.
. The Figure 1 Domain name access
- Click Batch Add.
- Click Upload file and select the local .xml domain name file.
Figure 2 Uploading the domain name file
- Click Close.
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