Skip to content

Reloading subpage for react webapp hosted on s3 gives 404 error.

0

When I try to reload subpage of my Webapp(React.js) hosted on s3 gives me 404 error. The homepage works fine.

asked 3 years ago1.9K views
1 Answer
0

Hello,

setting the errorpage to Index.html should solve the problem.

Or if you use a cloudfront origin infront of your s3-website/bucket configuring http error 404 to response page path /index.html should solve it too.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.