In my setup the website is inside the build folder. The content of the build folder is what I upload to my server, which is why I put .htacesss there.

In your case, you have another level. Try with this .htaccess (inside the public_html folder):

FallbackResource ./build/index.html

FallbackResource should point to your index.html file, so you need the right path based on where your .htacess is.

I hope everything is clear now

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store