Question

How to setup Laravel 8 application on Plesk

Posted April 10, 2021 1.3k views
Laravel

I have tried to upload all my files in the laravel8 app to httpdocs folder in my Plesk.

After uploading all the files, I am still unable to see the site.
Please help

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @adobe8832289,

By default Laravel Loads files from the public folder. If you’ve uploaded all your Laravel files in your httpdocs, when opening your Domain in the browser can you try and load it like so :

https://domain.com/public

Does it load the website that way?

If yes, you’ll need to make your plesk account’s DocumentRoot to httpdocs/public and that’s it.

As to how to change the DocumentRoot, you can do that from your Pleks Admin Panel for the said account –> Hosting Settings.

Regards,
KFSys