Accidentally overwrote the index.html can I revert because reuploading isn't working

0

I accidentally overwrote the index.html; when I re-uploaded the correct index page, the front end is still displaying the page I uploaded mistakenly. When I view the index.html page from the S3 it appears correctly but when I go to it from the subdomain I created, it still goes to the mistake page.

How do I get this back?

Jrapoza
asked 4 months ago133 views
1 Answer
1

If this is cloudfront, then ensure you have uploaded the file to the correct origin S3 bucket. Also you may need to invalidate the Cache so that the latest version is re-cached.

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

profile picture
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
  • Unfortunately, I'm not using Cloudfront, it is S3, and my domain server is pointing to the index page.

  • Worth clearing the cache on your browser if you think you have updated the file correctly.

  • I’m guessing you may have a different bucket for the subdomain. Have you updated the file there also?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions