By ges
I have a single server with Linux, Nginx, MySql, and PHP currently installed. It works great and I have no problems with that stack, but I’m interested in putting a NodeJS app that will use MongoDB on the same server with it. I know I’d have to install NodeJS and MongoDB in order to do this, but I’m curious if this is even possible? And if it is possible, should I do it? For reference, none of the sites on my server are doing anything really intense. All of the MySql-driven sites are WordPress, and this new NodeJS site would be a simple CMS type of site. Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Yes, you can. They system doesn’t care if you have 1, 2, or a hundred database servers. It just cares that you don’t try to run more than one on a port (3306 for MySQL, for example).
You can even run 2 or more instances of MySQL on the same server – one per port.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.