Multiple DigitalOcean Droplets?

May 7, 2017 288 views
DigitalOcean Ubuntu 16.04

I have 1 domain to 1 droplet in my account (currently using 2gb/2cpu $20/mo plan), they are handled by serverpilot and cloudflare

Now if I want to create more domains (2,3,4) and host them with Digitalocean, do I need to create separate droplets for each new domain? (eg. droplet 2, droplet 3, droplet 4)
And do I need serverpilot account 2,3,4 and cloudflare account 2,3,4?

And does that mean it is $20/mo for each droplet? so total if I have 4 domains (with 4 droplets) then it is $80/mo?

Or could I just have 1 droplet and use it to host all 4 domains? (thus saving the hosting costs per month)

Last question: if I just create droplet 2, and I use it to host domain 2, and say I no longer want domain 2, can I "remove" domain 2 and use the droplet 2 to host domain 3 instead?

Sorry if any part is confusing! (Edited and re-read a few times to make sure its easy to understand!)
And hope to hear a reply from you lovely people soon!

Alex

3 Answers

ServerPilot will let you run everything on a single droplet.

I used a single droplet (it was a 2GB) that was administered with ServerPilot Paid Plan that hosted about 15 sites. Most of them was WordPress, and one was CloudFlare. The rest were static. Granted, they were low traffic, but with judicious use of CloudFlare, that should ease the load substantially.

On ServerPilot, it's already connected to your server, so you just add a new User for each domain, and then a new app for that user to host your site.

Your last question probably doesn't matter at this point, but you can always rebuild a droplet to host a different domain.

  • Thanks for your reply!

    I'd just like to check 1 matter:
    I am currently using Serverpilot Free Plan $0/month

    So when you advised me for "On ServerPilot, it's already connected to your server, so you just add a new User for each domain, and then a new app for that user to host your site."

    I will need to upgrade to $10/month "Coach" plan, as it says it provides unlimited SSH/SFTP user?

    Or is it possible to use my main user (my current and only one) to control all my different domains?

    (as I see now in FTP, my folders are srv/users/serverpilot/apps/mydomain, so I'm under the assumption that with my main user, I can add as many domains as I want under /apps/ ?)

q1) Now if I want to create more domains (2,3,4) and host them with Digitalocean, do I need to create separate droplets for each new domain? (eg. droplet 2, droplet 3, droplet 4)
a1) Theoretically no, especially if you plan to host small dynamic or static websites, but you need to learn virtual hosts (if Apache is web server) or server blocks (if using NGINX), and multisite-installation. From practical point of view, there will be lot of other consideration if you want to host web applications and traffic load in future.

q2)And do I need serverpilot account 2,3,4 and cloudflare account 2,3,4?
a2) No.

q3)And does that mean it is $20/mo for each droplet? so total if I have 4 domains (with 4 droplets) then it is $80/mo?
a3) a1 should suffice.

q4) Or could I just have 1 droplet and use it to host all 4 domains? (thus saving the hosting costs per month)
a4) yes. Technically you host web application (sites) on droplets ( VPS with an abstraction layer to real RAM or Processor etc.). And you point your domains to your droplets ( with web servers).

q5)Or could I just have 1 droplet and use it to host all 4 domains? (thus saving the hosting costs per month)
a5) Of course, you can.

Hope it helps. Welcome to DO!

  • Thank you for your very detailed reply! It really makes someone as tech-unsavvy as me also understand it easily!

    Just a clarification:

    q1) Now if I want to create more domains (2,3,4) and host them with Digitalocean, do I need to create separate droplets for each new domain? (eg. droplet 2, droplet 3, droplet 4)
    a1) Theoretically no, especially if you plan to host small dynamic or static websites, but you need to learn virtual hosts (if Apache is web server) or server blocks (if using NGINX), and multisite-installation. From practical point of view, there will be lot of other consideration if you want to host web applications and traffic load in future.

    I am using Ubuntu 16.04.1 x64 2GB, 40GB disk

    What would you recommend me to learn or take note of? (Because I didn't really understand the statement of needing to learn virtual hosts if Apache or server blocks if NGINX and multisite installation)

    My purpose of my questions is because I am planning to create many different landing pages for different niche (1 individual domain per niche) and going to be driving a considerable amount of traffic to it daily

    And could you elaborate a bit more on the practical point of view, for the other considerations in future?

    Thank you so much once again!
    I'm loving the very helpful community here at DO ~

It seems that you want to host around 4 simple websites with "considerable amount of traffic to it daily". If that is the case, your package "Ubuntu 16.04.1 x64 2GB, 40GB disk" can do the job, provided we define "considerable amount of traffic to it daily" quantitatively.

Ubuntu is an Operating System which requires a webserver to serve "landing pages" (a web page). You can choose Apache or NGINX as your webserver. Or you can choose to serve half of your web pages with Apache, and other half with NGINX. I mean you can install both webservers too on your package, if you decide so. Your choice.

You need to learn this tut , this, and finally this one.

If you find the answer useful, please upvote it by clicking the "heart symbol".

We were all non-techie at one point of time!

It's well known that the LEMP stack (Linux, nginx, MySQL, PHP) provides unmatched speed and reliability for running PHP sites. Other benefits of this popular stack such as security and isolation are less popular, though. In this article we'll show you the security and isolation benefits of running sites on LEMP with different Linux users. This will be done by creating different php-fpm pools for each nginx server block (site or virtual host).
Have another answer? Share your knowledge.