Fix Laravel Setup on Shared Hosting

Замовник: AI | Опубліковано: 13.11.2025

I’m stuck deploying my Laravel project on a shared-hosting account. The application runs perfectly on my local machine, but once it’s on the server I either hit a 500 error or get redirected to the default public_html page. I’d like someone who knows the typical quirks of shared environments—cPanel, limited SSH, no root access—to get everything online for me. What I need: • Upload or reorganise the project files so the framework sits outside public_html while the public folder remains web-accessible. • Adjust index.php paths, set correct file and folder permissions, and update the .env settings for the live database and mail driver. • Run Composer (via SSH or local build) and any required artisan commands—migrate, storage:link, key:generate—so the site loads without errors. • Leave me with clear notes on what was changed so I can repeat the process for future updates. I’ll supply cPanel, FTP, and limited SSH credentials as soon as we start. The task is complete when the homepage, admin area, and a simple test route are all reachable in the browser.