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
preguntada hace 4 meses142 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 4 meses
profile picture
EXPERTO
revisado hace 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?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas