Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying multiple web apps in same server [closed]

I am thinking on deploying multiple (and different) web applications on the same server using the following schema:

www.mydomain.com/app1

www.mydomain.com/app2

Is this a good practice? Any recommendations?

like image 334
hectorsq Avatar asked Jan 25 '23 01:01

hectorsq


1 Answers

I don't see any glaring reasons why you should not do it this way. After all, not every website is dedicated to just a single task or application. Another approach would be to use subdomains, like:

app1.mydomain.com
app2.mydomain.com

Yahoo and Google both use these, for example. The folder approach is a good way to get things up and running for testing though.

like image 135
Nicholas Flynt Avatar answered Feb 05 '23 10:02

Nicholas Flynt