So that’s it, then – a VPS is for everything in between, right? Well, yes…and no. A VPS (Virtual Private Server) is a flexible solution that falls in between shared and dedicated hosting, not only in price but also in the way it functions. Like a dedicated server, a site hosted on a VPS gets its own RAM and disk space; however, like a shared server, it uses the same processing capacity (CPU) as a certain number of other sites. So, while your site’s performance isn’t reliant on shared RAM and disk space, it is dependent on a shared processor. Moreover, the distribution of processor share varies from provider to provider. The table below shows how most hosting companies break down the differences between shared, VPS, and dedicated hosting plans:
The most obvious and popular reason for a VPS is to run a single website, or multiple websites. However, you can use them for pretty much anything that requires access to the internet – such as a web application like Nextcloud to run your own Dropbox alternative – or to create your own virtual private network to better secure the internet connection of your PCs and mobile devices.
A regular user account with superuser privileges, on the other hand, needs to add the sudo prefix to any command it wishes to run using administrative privileges. This may seem like a small change, but it makes a huge difference. With this approach, you’ll need to think twice before running any command using the sudo prefix, which can help you avoid mishaps.
Let’s start with the difference between shared hosting and VPS hosting.
Shared hosting is a simple option to set up a site and start accepting visitors ASAP. Unfortunately, it can quickly backfire when websites grow in popularity because more resources are consumed and more sessions are delivered each moment. Eventually, things can come crashing down or slow to a crawl.