? Shared hosting vs VPS definitions
Before we can talk about the pros and cons of each approach, we first need to define both types of hosting.
What is shared hosting?
Shared hosting is the cheapest form of website hosting. It’s cheap because your hosting account “shares” resources with other accounts/customers on the server.
By sharing resources in this way, the hosting provider is able to keep its costs down and pass those savings on to you.
Of course, the downside of this sharing approach is that your site doesn’t have its own dedicated resources. If another account on the server is using too many resources, that can have a negative effect on your sites.
To prevent this situation from happening, shared hosts usually apply some type of usage limit and will cut off sites that abuse resources too much (or ask you to upgrade to a more expensive plan). This is true even if your shared host advertises “unlimited” everything.
? Let’s look at a housing analogy to drive home this point…
Shared hosting is like living with roommates…except you have no idea who the roommates are. Maybe you’re lucky and get the quiet roommate who just hangs out in their room (an account with low-traffic sites). Or, maybe you’re unlucky and get the disrespectful person who likes to throw house parties during the workweek (someone whose sites are resource hogs).
If you get stuck in the second situation, your quality of life is going to drop a lot.
What’s more, you have no control over not only who the roommates are but even how many roommates you have. In order to save money, some hosts do the equivalent of putting eight roommates in a four-bedroom house (not fun!), while some higher-quality shared hosts might just keep things at four roommates, which means there are still plenty of resources to go around.
Ok, that’s a long analogy, but you probably get the idea…
With shared hosting, your sites are affected by your neighbors’ sites and you have no control over those neighbors. Additionally, your sites can also affect your neighbors, which is why shared hosts might ask you to upgrade if you’re consuming more than your fair share of resources.
This setup keeps things cheap, but at the expense of some performance and reliability. Some hosts are better/worse than others when it comes to how many accounts share the resources, which is why you can have big differences in quality between different shared hosts.
What is VPS hosting?
In the hierarchy of website hosting, VPS hosting is the next “step up” above shared hosting. With a VPS, you still share a server with other accounts. But instead of needing to share server resources as well, your site gets its own dedicated resources with a VPS.
For example, let’s say there are eight accounts on the server. Well, each account might get 1/8th of the server’s resources. Unlike shared hosting,
This article was written by CodeinWP Editorial and originally published on CodeinWP.