In this video I will tell you how to host a react app created with create-react-app under a sub path.
For example in my case, I want to host my ecommerce app so that it can be loaded from http://my_public_vps_addr/ecapp.
By default, an app created with create-react-app will only work at root folder. ie. Only from http://my_public_vps_addr/.
To circumvent this you need to follow some steps.
Here is the document that I have created for you that you can follow along: https://drive.google.com/file/d/1UTfn...
After watching this video you will be able to host a react app under any sub path you want. Like http://my_public_vps_addr/my-projects/2021/my-awesome-site/ etc.
Happy hacking!