Need advice for deploying laravel project on cpanel

Published 3 months ago by andri9up


I have uploaded my project to root folder of my cpanel and make the public folder inside my laravel project as document root (please see this screenshot for better understanding ).

Is there any security concern for this method?


3 months ago (730,880 XP)

No, that's how it should be. The only thing that should be exposed to the outside world is the /public dir of laravel.

Please sign in or create an account to participate in this conversation.