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

KNietzsche's avatar

multiple Laravel projects on VestaCP domain or subdomain

I have searched and tested a lot of things (laravel templates, changing .htaccess) and none was running. I can access to projects but always with a /public/ into the url. I would like to have a subdomain.domain.com and a folder project1and project2 so I can access subdomain.domain.com/project1. There is no problem if I put my complete laravel project directly into the public_html folder from my subdmain...but I have no idea how to do with subfolders....always something wrong with my tests... I would like to have a clear solution to deploy laravel projects with VestaCP without moving the public folder like I can see in some links. Is that possible ? Do you have some advices or solutions or links for that ? Thanks for your help.

0 likes
0 replies

Please or to participate in this conversation.