Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

PedroFumero's avatar

How can I deploy a Laravel app in subfolder of shared hosting?

I would like to know what's the right way to upload a laravel app inside a subfolder of shared hosting: for instance: domain.com/MyNewApp

MyNewApp would be the container folder for my laravel project.

0 likes
4 replies
Snapey's avatar

It is problematic to put the project in a subfolder.

better to put it on a subdomain if your hosting provider permits that?

PedroFumero's avatar

@snapey Yes, my hosting provides it. I've accomplished to upload my app on subfolder before to read this :(

Please or to participate in this conversation.