Hosting a PHP app with MySQL database + NodeJS Chat server


I am a beginner with this whole Droplets thing…

I would like to ask your opinion, what should I do?

I have developed an application for iOS, that communicates with my PHP server (+MySQL database). Besides that, It does use (NodeJS) for real time chat.

Should I create 2 droplets? One for the PHP server+Database, and one for the NodeJS realtime chat?

And if so, what do you recommend, should I choose the “OneClick app” option?

I am really confused how this all works.

Best regards, Andrew


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


I believe that as long as your services and applications are on different ports you should be fine of using 1 droplet.

Though if you want to keep your applications separate, for example if you have the two applications on one droplet and if it happens that one of the applications gets a huge spike in the traffic it would affect the second application as well. So if you want to be safe you could simple have 2 droplets, that way the resources and the applications would be isolated.

Hope that this helps! Regards, Bobby