I use DNS of a Hosted Zone of Route 53 on a Godaddy domain.
Also, I create an AWS certificate, CloudFront distribution, and a S3 Bucket for my static website.
So I have my site with an SSL certificate working correctly.
The issue starts when I need to make a change on the site, it does not refresh the content on the domain name, but if I use bucket endpont: http://....s3-website-us-west-1.amazonaws.com
it has the latest build.
How can I refresh data inside my custom domain name?
CodePudding user response:
Because you are using CloudFront every time you change your website you should run an invalidation. To do that you will need to do the next: