Help Center/ Content Delivery Network/ Troubleshooting/ Why Can't I Access a Web Page or Play a Video After I Enable CDN?
Updated on 2024-04-17 GMT+08:00

Why Can't I Access a Web Page or Play a Video After I Enable CDN?

Symptom

After CDN is enabled, a web page cannot be accessed or a video cannot be played.

Check Items

  • Whether the CDN origin server is faulty
  • Whether CDN acceleration is enabled for the domain name
  • Status code and domain name configuration
  • Whether your HUAWEI ID has outstanding payments

Procedure

  1. Check whether the fault is caused by the origin server or CDN points of presence (PoP). For details, see How Do I Check Whether an Access Fault Is Caused by a CDN PoP or Origin Server?
  1. Check whether CDN acceleration is enabled for the domain name.

    If you just added an acceleration domain name on the CDN console and are testing the domain name before adding a CNAME record, skip this step and configure the domain name as instructed in Getting Started.

    Check whether the domain name is resolved to CDN. Take the Windows operating system as an example. Open the Command Prompt and run the following command:

    nslookup -qt=cname Domain name

    If the command output contains .cdnhwcedi10.com, the CNAME record has taken effect.

    1. If the command output does not contain .cdnhwcedi10.com, the domain name has not been resolved to CDN. You can test the domain name after adding it on the CDN console. After the test is successful, add the CNAME record provided by CDN to the record set of the DNS provider. For details, see Configuring a CNAME Record.
    2. If the CNAME record has been correctly configured, check the time to live (TTL) of the previous resolution record of the domain name on the same resolution line. The TTL specifies the cache duration of a resolution record on the local DNS server. The newly added CDN CNAME record takes effect only after the TTL of the previous record expires.

    If the domain name resolution is normal, proceed to the next step.

  2. Check the CDN status code and domain name configuration.
  3. Check the credit balance.

    If your account has outstanding payments and is in the retention period, the system will disable CDN for your acceleration domain names and you cannot use CDN. View the outstanding amount of your account in the Billing Center.

If the fault persists, submit a service ticket.