I have developed a small project with Laravel.
Now I am planning to up this project in one of my folder of my existing hosting that is cPanel (Shared hosting in Bluehost). For example, my url will be example.com/laraproject. After uploading, its not working.
Cpanel normally has a public_html folder rather than a public. In your developed application you could change it to reflect upon the structure of your server.
You'll need to update .gitignore, and the server.php but everything else should just work as a path to the root public folder isn't declared.
The app / vendor etc etc all reside above the public_html.
But the things is that, my project will be lost in one of the sub directory in my hosting. In that hosting, I hosted other projects developed by wordpress.
I am afraid, if I change the structure of my server, the rest of my project won't work... !