- Log in to the AWS Console, select CloudFront, select your distribution, and go to the Error Pages tab.
- Click on Create Custom Error Response.
CloudFront: Create Custom Error
- Set up the error pages and click on Create.
CloudFront: Create Custom Error