Help Center> Content Delivery Network> Troubleshooting> How Do I Check Whether an Access Fault Is Caused by the CDN PoP or Origin Server?
Updated on 2023-08-23 GMT+08:00

How Do I Check Whether an Access Fault Is Caused by the CDN PoP or Origin Server?

  1. Check whether you can visit other websites, for example, https://www.huaweicloud.com/ to make sure the fault is not caused by the client network.
  2. Check whether the origin server is normal.
    The origin server can be a domain name, OBS bucket domain name, and IP address. Select a proper test method based on your settings.
    • If the origin server, for example, the domain name of an OBS bucket or the CNAME domain name of WAF, cannot be directly accessed, use the method b.
    1. Origin server domain name: Assume that the acceleration domain name is www.a.com, the origin server domain name is www.source.com, and the URL that cannot be accessed is http://www.a.com/a.html.
      1. Replace the acceleration domain name in the URL with the origin server domain name, that is, change http://www.a.com/a.html to http://www.source.com/a.html.
      2. Open the new URL in the browser. Clear the browser cache before each test.
      3. If the access fails, the origin server is abnormal. Check your origin server.
      4. If the access succeeds, the origin server is normal.
    2. Origin server IP address: Assume that the acceleration domain name is www.example.com, the origin server IP address is 49.4.3.125, and the OS is Windows.
      1. In the C:\Windows\System32\drivers\etc\hosts file, bind the acceleration domain name www.example.com with the IP address 49.4.3.125.

      2. Open the URL that cannot be accessed in the browser. Clear the browser cache before each test.
      3. If the access fails, the origin server is abnormal. Check your origin server.
      4. If the access succeeds, the origin server is normal.
  3. Check whether the CDN point of presence (PoP) is faulty.
    • Open the URL that cannot be accessed in Google Chrome, press F12, choose Network > Headers, and obtain the PoP IP address next to Remote Address.
    • In the C:\Windows\System32\drivers\etc\hosts file, bind the acceleration domain name with the PoP IP address.
      • Ping the acceleration domain name. If the ping fails, the CDN PoP is abnormal. Contact Huawei technical support.
      • If the ping succeeds, the CDN PoP is normal.