Delete website configurations that no longer need Anti-DDoS protection, or export all configurations as an XML file.
Delete website configurations
Remove one or more websites from Anti-DDoS Proxy when they no longer require protection.
Prerequisites
Before you delete a website configuration, update your DNS records and make sure the DNS record values do not point to any of the following:
The Anti-DDoS Proxy instance IP address
The CNAME assigned by Anti-DDoS Proxy
The CNAME assigned by Sec-Traffic Manager
Deleting a website configuration without updating DNS records first may cause service interruptions.
After all Anti-DDoS Proxy instances under your Alibaba Cloud account are released, domain names and port forwarding configurations are automatically deleted one month later. If you have multiple instances, the one-month countdown starts after the last instance is released.
Procedure
Log on to the Website Config page in the Anti-DDoS Proxy console.
In the top navigation bar, select the region of your instance.
Anti-DDoS Proxy (Chinese Mainland): Choose the Chinese Mainland region.
Anti-DDoS Proxy (Outside Chinese Mainland): Choose the Outside Chinese Mainland region.
Find the target website configuration and click Delete in the Actions column.
In the confirmation dialog box, click Delete.
To delete multiple website configurations at once, select them from the list and click Batch Delete below the website list.
Export website configurations
Export all website configurations from Anti-DDoS Proxy as an XML file. The exported file uses the same format as batch import and batch modification.
Procedure
Log on to the Website Config page in the Anti-DDoS Proxy console.
In the top navigation bar, select the region of your instance.
Anti-DDoS Proxy (Chinese Mainland): Choose the Chinese Mainland region.
Anti-DDoS Proxy (Outside Chinese Mainland): Choose the Outside Chinese Mainland region.
Below the website list, click Batch Export to submit the export task, and then click OK to close the notification.
Click Tasks in the upper-right corner of the page to check the export progress.

After the task completes, click Download in the Actions column of the Tasks panel to download the XML file.
NoteIf the task status is Pending, wait for the export to finish before downloading.
Open the downloaded
.xmlfile in a text editor to view the website configurations.NoteThe exported file name starts with
DDoSCoo_for Anti-DDoS Proxy (Chinese Mainland) andDDoSDip_for Anti-DDoS Proxy (Outside Chinese Mainland). Both files use the same format.(Optional) In the Tasks panel, find a task that you no longer need and click Delete in the Actions column to remove it.
Appendix: XML file format
Import, modify, or export multiple website configurations at a time using an XML file.
Structure
The XML file uses <DomainList> as the root element. Each website configuration is wrapped in a <DomainConfig> element. Add one <DomainConfig> block for each website.
| Parameter | Description |
|---|---|
<Domain> | The domain name to add. Specify one domain name per tag pair. |
<ProtocolConfig> > <ProtocolList> | The protocol types for the domain, separated by commas. Valid values: http, https, websocket, websockets. |
<InstanceConfig> > <InstanceList> | The instance IDs to associate with the domain, separated by commas. Each Anti-DDoS Proxy instance has a unique ID. |
<RealServerConfig> | The origin server information. See the following table for details. |
Origin server parameters in <RealServerConfig>:
| Parameter | Description |
|---|---|
<ServerType> | The type of origin server address. Set to 0 for an IP address or 1 for a domain name. |
<ServerList> | The origin server addresses, separated by commas. Supports both IP addresses and domain names depending on the <ServerType> value. |
Example
<DomainList>
<DomainConfig>
<Domain>example.aliyundoc.com</Domain>
<ProtocolConfig>
<ProtocolList>http,https</ProtocolList>
</ProtocolConfig>
<InstanceConfig>
<InstanceList>ddoscoo-cn-zvp2eibz****</InstanceList>
</InstanceConfig>
<RealServerConfig>
<ServerType>0</ServerType>
<ServerList>192.0.XX.XX</ServerList>
</RealServerConfig>
</DomainConfig>
<DomainConfig>
<Domain>demo.aliyundoc.com</Domain>
<ProtocolConfig>
<ProtocolList>http,websocket,websockets</ProtocolList>
</ProtocolConfig>
<InstanceConfig>
<InstanceList>ddoscoo-cn-7pp2e74f****, ddoscoo-cn-2r42e12c****</InstanceList>
</InstanceConfig>
<RealServerConfig>
<ServerType>1</ServerType>
<ServerList>learn.aliyundoc.com</ServerList>
</RealServerConfig>
</DomainConfig>
</DomainList>This example defines two website configurations:
example.aliyundoc.com: Uses HTTP and HTTPS protocols. Associated with instance
ddoscoo-cn-zvp2eibz****. Origin server IP address:192.0.XX.XX.demo.aliyundoc.com: Uses HTTP, WebSocket, and WebSockets protocols. Associated with instances
ddoscoo-cn-7pp2e74f****andddoscoo-cn-2r42e12c****. Origin server domain name:learn.aliyundoc.com.