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

P81CFM's avatar

Hosting multiple Laravel based web sites

Hi guys it has been a while since I last published a website back in the days of "pure" PHP pages.

Now having spent some time developing sites using the Laravel framework I'm trying to collect some information about a potential hosting to host those app.

DigitalOcean seems to be a very good solution.

I'm sure some of you have experience with this service, how easy to set up a web site on DigitalOcean? Is it possible to host multiple websites with just one hosting service?

Any considerations? About potential scaling of the websites?

Hope to clarify a bit my mind :)

Thanks

0 likes
1 reply
prasadchinwal5's avatar

Hey @p81cfm I work with this use case of hosting multiple applications on a server at my current job. The way we have set it up is that when a request comes in through a browser nginx re-routes it to the appropriate application which are located on subfolders.

Ex. www.xyz.com/app1 serves application from /var/www/apps/app2

www.xyz.com/app2 serves application from /var/www/apps/app2

Here is an article which explains this better. https://webdock.io/en/docs/laravel-guides/multiple-laravel-installs-subfolders-nginx-rewrite-rules-full-guide

Please or to participate in this conversation.