Often you might be able to face this problem. Today, I am showing you how to upload laravel in cPanel. Of course, there are few ways to upload laravel project in cpanel. However, this post shows you by modifying .htaccess file.
Upload your entire files and folder to your cPanel. After successfully uploading, if you want to access that url (i.e. example.com) you might able to see a list of directory and files. Isn’t that?
If so, create a .htaccess file into your main directory and write following line of code.
Now, save your file and run. Hope it will work.