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…
#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!
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.
Think of it this way:
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.