What should I do if a 404 status code is returned by a CDN domain name?
Check whether your origin server is exceptional.
Check the configuration of the origin server information and host header in the console.
Log in to the CDN console, select Domain Management, find the corresponding domain name, select Basic Configuration > Origin Server Information, and check whether the settings of Origin address and Host header are correct.
Customer origin server | If you select customer origin server, you should provide an IP address or domain name of the business server that can be normally accessed. |
COS origin server | If you select a bucket in COS as the origin server, select **Default Domain** or **Static Website** based on your bucket configuration. If your bucket is private, authorize CDN and enable origin-pull authentication to turn on private bucket access. |
Third-Party object storage | If you select a third-party object storage service, enter the valid bucket access address as the origin server. Currently, AWS S3 and Alibaba Cloud OSS are supported. If the bucket is private, enter a valid key and enable origin-pull authentication to turn on private bucket access. |
For more information on origin server configuration, see Origin Server Configuration.
Was this page helpful?