By Alice
I just setup a LEMP server on Ubuntu 16.04. This is my first time setting up a server from scratch!
I would like to run 3 seperate domains on the same droplet. One is a LEMP site (personal site) and another is a Node.js app that I want to use Node/Express/React/Postgres on. The third one might be a wordpress blog. Anyway…
Two Questions:
#1 I have already created the server blocks for the respective sites. Do I just install all my necessary packages and go from there? Can node and node packages be installed alongside mysql and php?
#2 Do server blocks share all the same access to the packages/servers I install? For example, can all domains use mysql and php or node?
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!
Accepted Answer
Think of it this way:
Can this road handle 100,000 cars per hour with no bottle necks?
There are a lot of questions to ask:
So, think of planning a server the way you would a road. Can it handle the traffic? Can it handle 25% more traffic than you expect? Is your code optimized?
As for if the sites can use the same installs of packages: yes.
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.