Support the ongoing development of →
Laravel Installation Configuration
Last updated 2 years ago.

I suggest you to first open up the index.php file and change the paths to reflect our new directory structure. change following line

Autoload file path:

require __DIR__.'/../bootstrap/autoload.php';

App path:

$app = require_once __DIR__.'/../bootstrap/app.php';

also check your .htaccess file and update it according to your application.

RewriteEngine On
RewriteCond %{REQUEST_URI} !^awesome-project
RewriteRule ^(.*)$ awesome-project/$1 [L]

But their are many disadvantage to host Laravel on shard hosting like security , performance and Laravel packages and version support issues are common. I suggest you to try Cloudways, It is a manage hosting service provider by which you can Manage and Create server on the choice of your cloud infrastructure from Google, Amazon, Linode, DigitalOcean, Vultr with 1-click Laravel installation.


Sign in to participate in this thread!


Your banner here too?

memphis memphis Joined 25 Jan 2019


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.