Shared hosting is economical; it
allows multiple customers to share the resources of one server,
thus spreading out the costs among users.
VPS is often considered a step
up from Shared Hosting; it can handle heavy traffic and custom
applications. VPS also allows more control over server settings and
resources, thus providing a more customized hosting
The hosting account resides on
the same hardware with many other accounts. All accounts share the
same hardware resources (ie. CPU). This hosting environment makes
it more likely for accounts to experience slowdowns or outages
should there be a high server load.
Because each account resides on
an individual partition of the server, VPS accounts are allotted
resources independent of other accounts on the same hardware node.
This virtual private hosting environment greatly minimizes the
chances that a single user's activities will
impact other users on the same hardware node.
The shared hosting environment
is designed to handle different websites on the same server, it is
configured to accommodate the majority. For example, if a specific
version of PHP is offered on a shared hosting server, you will need
to make sure your scripts are compatible.
With VPS, you have your own
partition and root access. You have the ability to install
applications and customize software configurations to your exact
Shared hosting is difficult to
completely secure. For example, many prepackaged software solutions
allow the server to have full access to the files from the web
server level; this leaves your files vulnerable
to other users on the same server. Problems can also arise should
one user on the server forget to update their blog software to fix
security risks that have been discovered; hackers
can easily get into their shared hosting account and move
horizontally into your account.
VPS accounts are insulated from
each other: each customer is separated at the operating level and
each virtual environment has its own file system. This minimizes
the risk of unauthorized access from both hackers and other users.
This also minimizes the risk of being impacted by a DoS attack that
was intended for someone else.
Some applications require
certain ports and/or protocols be opened (or closed) in the
firewall. Because a firewall in the shared hosting environment is
configured to protect the majority, custom configurations will not
Under the VPS, custom firewall
configurations are feasible because of the portioning between