(Optional) Testing the Domain Name
Test your domain name before adding a CNAME record to the domain's DNS records to ensure that your domain configurations are correct.
- Ping the CNAME record for the domain name you added to obtain the IP address.
For this example, we assume that the added domain name is www.example.com, the generated CNAME record is www.example.com.c.cdnhwc1.com, and the IP address obtained by pinging www.example.com.c.cdnhwc1.com is 10.0.0.0.
- Bind the hosts file on the local PC. If you use are on a Windows system, add the mapping between the domain name www.example.com and the IP address 10.0.0.0 to the hosts file in the C:\Windows\System32\drivers\etc\ directory. See Figure 1.
- Access your domain name to test services. If the test results meet your expectation, the configurations are correct.
- Add a CNAME record to your domain's DNS records. For details, see Configuring a CNAME Record.
Last Article: Verifying the Domain Name Ownership
Next Article: (Optional) Recommended Configurations

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.