You can connect a domain name to the ECDN acceleration platform in the following three steps:
Add an acceleration domain name configuration in the console.
hosts file to verify whether the configuration takes effect.
Configure the domain name CNAME resolution. Then, the service will work.
For detailed directions, please see Domain Name Connection.
Whether the system checks the ICP filing status depends on your selected acceleration region:
If the acceleration region includes regions in Mainland China, according to applicable laws and regulations, an ICP filing for services in Mainland China should have been obtained from the MIIT for the domain name before connection.
If the acceleration region includes regions only outside Mainland China (including Hong Kong (China), Macao (China), and Taiwan (China)), your domain name does not need ICP filing.
ECDN supports acceleration for wildcard domain names.
|Optimal route selection origin-pull||It is the default origin-pull policy.
The best-performing node is selected for origin-pull based on the platform's detection result.
|Weighted origin-pull||Origin-pull requests are proportionally scheduled to origin servers based on their weights.|
|Primary/secondary origin-pull||When the primary origin server is normal, it will be used for origin-pull. Only when it is exceptional will the secondary origin server be used.|
They have the following differences when CDN or ECDN is used:
|Port Type||Acceleration Port||Origin-Pull Port|
|Port difference||It is the CDN/ECDN service port, which is also the port for client or user requests to access edge servers||It is the origin server service port, which is also the port for CDN/ECDN node requests to access origin servers|
|Port number||Only ports 80, 443, and 8080 are supported||1–65535|
- After ECDN is activated, if the client request port is different from the service ports opened on the node, client access requests cannot be accelerated by the node.
- You can specify the origin-pull port on a node on the ECDN domain management page.
Common errors during connecting domain names and their solutions are as follows:
|Error Type||Error Description and Solution|
|The corresponding domain name already exists in CDN configuration||You can add a domain name on the ECDN platform only after confirming that it has been deactivated in and deleted from Mainland China CDN and Overseas CDN.|
|The acceleration domain name has no ICP filing||If your acceleration region includes regions in Mainland China, according to applicable laws and regulations, your domain name must be connected to the domain name ICP filing system of MIIT.
If you only need to ensure the access experience of users outside Mainland China, you can uncheck acceleration regions in Mainland China when adding the domain name. In this case, the domain name does not need an ICP filing for auditing.
|The acceleration domain name already exists||If the domain name has been added under the current account, it does not need to be added again and can be used directly.
If your domain name has been connected by another account, you can submit a ticket to provide your domain name ownership proof and reclaim the domain name configuration permission.
|The domain name is restricted||The domain names restricted from being added in the system include but not limited to internal domain names of Tencent or Tencent Cloud and locked or blocked domain names. You can submit a ticket to apply for the configuration permission for restricted domain names.|
|The number of domain names exceeds the upper limit||The platform allows to add up to 200 acceleration domain names under one account by default. You can delete configurations of deactivated domain names or apply for increasing the maximum number of domain names.|
|The domain name format is invalid||The system can accelerate only ASCII domain names. Non-ASCII domain names contain invalid characters and therefore cannot be added.|