I always have trouble adding multiple domains to my server so i created a script that will do all the work for me with me just entering the domain name. hope this helps people that want to add different domains to their server. I have only used this on Ubuntu 18 server.
Copy and paste the command to putty enter domain url when prompted then wait for script to finish running. This will install Apache2 and PHP if it is not installed yet.
Copy and paste the command to putty enter domain url when prompted then wait for script to finish running. This will install Apache2 and PHP if it is not installed yet.