I am currently working on a new project where the entire page should be implemented in HTML5/JS working against an API/JSON. Since the entire application should only consist of
This guy had a similar problem and used S3 / CloudFront. All his urls redirect to index.html with a statuscode 200.
This is a workaround as it involves setting index.html as an error page.
See details: https://kkob.us/2015/11/24/hosting-a-single-page-app-on-s3-with-proper-urls/