Description
This topic describes how to check whether Alibaba Cloud Content Delivery Network nodes take effect after you configure the origin service to the Alibaba Cloud Content Delivery Network.
Details
You can use the following three methods to check whether the Alibaba Cloud Content Delivery Network node takes effect. Select the following corresponding steps based on the actual situation on site:
- Method 1: View the added accelerated domain name by ping or dig
- Method 2: In the Alibaba Cloud Content Delivery Network console, check whether the node takes effect
- Method 3: Obtain the response of the corresponding accelerated domain resource to check whether the node takes effect
Method 1: View the added accelerated domain name by ping or dig
Description: This operation uses the Windows system as an example. If you need to check whether the Alibaba Cloud Content Delivery Network node takes effect in the Linux, see Obtain the response of the corresponding accelerated domain resource to check whether the node takes effect.
- Run the following command in Windows to view the added accelerated domain name by ping:
ping example.aliyundoc.com
If the domain name of theexample.aliyundoc.com.w.alikunlun.com
is transferred, the Alibaba Cloud Content Delivery Network function has taken effect. - In Windows, run the following command to view the added accelerated domain name by using dig. You can view the IP address of the corresponding accelerated domain name to access the Alibaba Cloud Content Delivery Network node.
dig example.aliyundoc.com
The system display is similar to the following. Confirm that the Alibaba Cloud Content Delivery Network node takes effect.
Method 2: Check whether the node takes effect in the Alibaba Cloud Content Delivery Network console
See How to verify that a specified IP address is the IP address of a Alibaba Cloud CDN node. Check whether the node takes effect in the CDN console.
Method 3: Obtain the response of the corresponding accelerated domain resource to check whether the node takes effect
Run the following command in the Linux to obtain the response of the corresponding accelerated domain resource and check whether the corresponding node information for Alibaba Cloud Content Delivery Network acceleration is available. This determines whether the Alibaba Cloud Content Delivery Network takes effect.
curl -I example.aliyundoc.com/10.JPG
If an output similar to the following one is returned, one of the solutions is applicable to your system kernel version:
References
After you add an accelerated domain name to the Alibaba Cloud Content Delivery Network console, how to verify that the accelerated domain name is accessed properly. For more information, see Test a Alibaba Cloud Content Delivery Network accelerated domain name locally.
Applicable scope
- CDN