When you use Alibaba Cloud CDN or a third-party CDN to retrieve an object from Object Storage Service (OSS), a similar error is returned if the endpoint mapped to the specified bucket is incorrect. The error information contains the public endpoint of OSS. The public endpoint of OSS is exposed, which causes information leaks and security risks.

- Use static website hosting to configure the default 404 page
Use static website hosting to configure the default 404 page. Example of the 404 page:
https://help.error.html
. After you configure the 404 page, OSS returns the default 404 page if the OSS resource that you want to access by using CDN does not exist. For more information, see Configure static website hosting. - To redirect the HTTP status code returned by the origin to the error page,contact technical support.