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
posta 4 mesi fa142 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 4 mesi fa
profile picture
ESPERTO
verificato 4 mesi fa
  • 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?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande