Support the ongoing development of Laravel.io →
Laravel Installation Configuration
Last updated 1 year ago.
0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

memphis memphis Joined 25 Jan 2019

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.