I'm almost a newbie in what respects to amazon buckets and instances, and what I have to do now is a custom error page for error 404. What is shown now is the default error page that shows an non-user-friendly XML telling that the file was not found.
Any ideas of a nice way to make this?
I found the documentation to be extremely unclear. It says "provide this custom error document", which leaves me asking, "but how do I provide it?" It's in the S3 console, under the Properties tab, under "Static website hosting". But, you won't see it until you select the huge radio button beside "Use this bucket to host a website"
If you place CloudFront in front of S3 (your traffic costs will be lower) and it also allows you a far more fine-grained approach to how handling any errors (not just 404 errors)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With