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
feita há 4 meses142 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há 4 meses
  • 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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas