May Sale! All accounts are 40% off this week.

tealiedie's avatar

How to deploy Laravel website on a VPS server?

guys can you guide me on uploading my laravel website to a VPS server?

0 likes
5 replies
moyuboy's avatar
  1. Build your LNMP server environment. 2.Upload your Laravel project to web public folder.
tealiedie's avatar

@moyuboy thanks. i'm uploading it now to the public_html/ folder. question, do i need to config something in my project folder? like routings etc. ?

tealiedie's avatar

@moyuboy hi i already uploaded the folder and change its permissions to 777, but still it showing 403 forbidden when i tried to open the url.

moyuboy's avatar

@tealiedie, only storage folder need permission 777, other folders just remain the default 644. And the website folder should be 'public ' folder of your laravel project, not the project root!

Please or to participate in this conversation.