Question

Is this a good idea to host in different stack applications in same droplet and is it possible?

Posted October 3, 2020 128 views
LAMP StackAngular

In my existing droplet .Net Core with SQL Core and angular app is running.
Now I am planning to add one more WordPress site (LAMP stack) in same droplet.

My question:
is this a good idea to host in different stack applications in same droplet and is it possible?

Sorry if my question sounds silly.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello, @jitangupta

Could you please confirm if you’ve deployed the .Net Core application using our article:

https://www.digitalocean.com/community/tutorials/how-to-deploy-an-asp-net-core-application-with-mysql-server-using-nginx-on-ubuntu-18-04

You can configure the LAMP stack on the existing droplet, but keep in mind that sometimes when you have too many services running things can get “messy”.

An really quick example is the following - two services might share one or more dependency packages. If you happen to install or update one of those dependencies this can cause an issue for one of the services as sometimes they require a specific version in order to run.

I will highly recommend you to backup your droplet by taking a snapshot and then go with the LAMP stack configuration. In this way if anything goes wrong you can always restore your droplet.

You can check our tutorial on how to create snapshots of droplets:

https://www.digitalocean.com/docs/images/snapshots/how-to/snapshot-droplets/

Hope that this helps!
Regards,
Alex

by Oluyemi Olususi
ASP.NET Core is a more modular version of Microsoft’s ASP.NET Framework. It's a high-performant, open-source framework for building modern web applications. In this tutorial you'll set up and deploy a production-ready ASP.NET Core application with a MySQL Server on Ubuntu 18.04 using Nginx.
Submit an Answer