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
demandé il y a 5 mois152 vues
1 réponse
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
répondu il y a 5 mois
profile picture
EXPERT
vérifié il y a 5 mois
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions