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

Raimondas's avatar

Hosting two laravel projects on one domain?

Hi, is it possible to host two laravel projects on one domain ? I mean I've created a portfolio today which is created with Laravel and I want to upload one of my project on that portfolio which is also created with laravel is there are anyway to do this ?

0 likes
3 replies
renedekat's avatar

No, except with subdomains or if you install them in subfolders of that main domain.

SaeedPrez's avatar

No is not entirely correct. It is possible, but it is not recommended and you might need to do some advanced configuration on the server and/or your application. It is therefore recommended and/or easier to use a sub-domain with separate document folders.

Raimondas's avatar

Okay thanks for replies I'll just host the site somewhere else :)

Please or to participate in this conversation.