881ff7362a8e7418ca53b1a1d3edec75b8efd4d7
By:
Settings

Looking to Set up VPS – New to this

February 24, 2015 1.8k views

Having my fair share with shared web hosting, I think it is time for me to learn how this all works.

I am looking to host about 4 sites [3 WordPress (1 WooCommerce) + 1 Ghost Blog].

After some fair amount of research, I feel that there’s enough material online to set them up. As none of the guides online have anything quite specific to my situation, I still have a couple of questions.

Currently looking at DO 1GB. Expecting low-mid volume of traffic – ~50-400 monthly visitors on each site and roughly 500 daily visitors on eCommerce site. At best estimate.

  1. Is it even possible to host them all on one droplet in the first place?
  2. Should I set up with LEMP first? Then install WordPress + Ghost? (If what I read is right, too many visitors and an Apache server don’t usually play nice)
  3. If there are multiple sites hosted on a droplet, how should I point the DNS servers to the right site?
  4. Would the installation of a GUI [manager] like Webmin help me out with setup/config?
  5. As there’s an eCommerce site, security is paramount. What should I look out for when setting up. (I feel like this is a broad question, from actual settings to philosophical practice, throw a couple of updated guides in my way and I would be set)
  6. Is the DO 1GB sufficient for my needs?
  7. Which Linux distro should I go for? (Or they really are the same and I'll just follow whichever the guide presents)

Now I would like to point out that I usually do the web design portion. Till that end, I’m not shy from the command line, and getting my hands dirty.

I still have some time before the eCommerce site becomes a production site and would love to take this time to get things right first.

Would love advice, (updated) guides, assistance and just general guidance.

Thank you, appreciate it.

1 Answer
  1. Is it even possible to host them all on one droplet in the first place?
    It should be but you will need to set up a reverse proxy (proxy_pass) so the Ghost site is served via nginx.

  2. Should I set up with LEMP first? Then install WordPress + Ghost? (If what I read is right, too many visitors and an Apache server don’t usually play nice)

I would recommend setting up Ghost with nginx in front first, then add additional server blocks for your WordPress sites.

  1. If there are multiple sites hosted on a droplet, how should I point the DNS servers to the right site?
    Your nginx configuration will have a server_name field for each site. You will simply need to point all domains to the droplet's IP address and nginx will take care of the rest.

  2. Would the installation of a GUI [manager] like Webmin help me out with setup/config?
    For this type of configuration it likely would not. For basic LAMP sites this can be useful but it also puts a layer between you and your actual configuration so tracking down errors or issues could be more difficult.

  3. As there’s an eCommerce site, security is paramount. What should I look out for when setting up. (I feel like this is a broad question, from actual settings to philosophical practice, throw a couple of updated guides in my way and I would be set)
    First you should absolutely implement https. LetsEncrypt will let you set up an SSL certificate for free.
    This guide wil walk you through some initial steps to secure a new droplet
    This one includes some nginx specific steps you can take for security.

  4. Is the DO 1GB sufficient for my needs?
    Will it run these sites, absolutely. Whether it is enough to meet your needs depends on how you optimize and how much traffic you receive. We see this question a lot and the answer is almost always, you'll need to do some testing on your own with your actual configuration and scripts to know for sure.

  5. Which Linux distro should I go for? (Or they really are the same and I'll just follow whichever the guide presents)
    For the most part it is a matter of preference. In my own opinion I would recommend Ubuntu as it has the most active community and in our own library of tutorials it is the best documented.

by Justin Ellingwood
When you start a new server, there are a few steps that you should take every time to add some basic security and give you a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 14.04.
Have another answer? Share your knowledge.