Question

Many sites in the same VPS

Hi, I’m completely new on VPS. I have hosted more than 30 sites in a shared hosting over the last 10 years, and I think it is time to start using a VPS.

I’m not a developer, and I don’t know about Linux or creating servers. Because of that I’m proud of me after creating a droplet, installing VestaCP, adding domains, etc, and now I see my test sites on line. Anyway, I have a few questions, that I hope you can help me:

  1. Is it safe to host many sites in the same VPS, under the same IP? I mean: if one of my sites has any problem (let’s say, it is in a google’s blacklist), the rest of my sites will have any problem?

  2. Is it recomendable to host the most important sites in an individual VPS to avoid any kind of problem? Or is this a stupid thought?

  3. Is it possible to host regular sites (like html or php) within Wordpress sites in the same droplet?

  4. Last: how can I calculate the size of the droplet I need? I was looking at loadimact, but I don’t understand how to transform all that data into the answer about which droplet specifications I need.

Many thanks for your help in advance, and sorry for my ignorance!

Chino


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Ryan Quinn
DigitalOcean Employee
DigitalOcean Employee badge
February 2, 2018
Accepted Answer
  1. Is it safe to host many sites in the same VPS, under the same IP? I mean: if one of my sites has any problem (let’s say, it is in a google’s blacklist), the rest of my sites will have any problem?

Unless you are hosting content that is likely to be a problem this should not be a major concern. This is a very common configuration.

  1. Is it recomendable to host the most important sites in an individual VPS to avoid any kind of problem? Or is this a stupid thought?

If you expect problems then this might be a prudent step.

  1. Is it possible to host regular sites (like html or php) within Wordpress sites in the same droplet?

You can host these side by side and there may be some ways to host another site in a subdirectory of a WordPress site but I would strongly advise against it. Instead I would recommend creating a subdomain sub.mydomain.com for your second site on the same domain.

  1. Last: how can I calculate the size of the droplet I need? I was looking at loadimact, but I don’t understand how to transform all that data into the answer about which droplet specifications I need.

This one is never easy. There is really no way to know exactly what you’ll need without existing data on the sites you’ll be hosting. Many things come into play including the language of any interactive content, the audience both volume of visits and their activities, things like how many database queries may be needed for specific pages can also play a role.

For 30 sites I would recommend you start small and use the resize tool in the control panel if you find that you need more resources.

If these sites are low to moderate traffic I would start off with a droplet with 4GB of RAM at a minimum

If these sites are moderate to high traffic you may be better starting with an 8GB droplet.

HI, estebancosin! and what did you choose as a result? What size of droplet do you use for 30 sites? Do you use separate droplets?

Thank you ryanpq for your time!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel