404 Not Found error when linking to React

I am trying to host my React website through digital ocean. I am able to host my log in page on it which has the path ‘/’. However, every other page which has the path ‘/Oko’ or ‘/Oko/…’ shows a 404 Not Found error. I am not sure why this is happening so any help would be appreciated. This is the link if you need a reference:


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!