Shared vs. Dedicated Hosting

As a freelance Linux System Administrator, mygateway which will not be shared with other
clients sometimes ask me, “what is better-websites. In addition to this, your server will also
dedicated or shared hosting?”. The answer tohave only the workload that you give it- if you use
this question depends on many factors, most ofonly a few CGI or PHP scripts, your server will run
which are client specific. Simply put, what is best forperfectly fast.
one client may not be best for another client. In thisThe main advantage to running your own server is
short article, I will compare and contrast these twothat you are responsible for security and
popular hosting types, and show the benefits andmaintenance updates, as well as backups. I cannot
disadvantages of both hosting types.remember how many times a hosting provider has
Shared hosting is widely used today by manydeployed an update (which went horribly wrong), and
websites- and for a few good reasons. A sharedrestored the server without even contacting the
hosting provider is a provider that hosts yourclient. In many cases, the client had to contact the
website along with several other websites, all on thehosting provider to ask what happened before the
same IP address. This IP address is shared among allhosting provider even admitted to any error. Placing
of the websites in the server- which can be a majorthis responsibility in your hands allows you to ensure
problem. Most search engines today blacklist, or ban,that all updates are installed, and that system
IP addresses of malicious or misbehaving servers- notbackups are religiously followed.
the domain names. What this means is that if anotherIn addition, with a dedicated hosting account, you can
website that is hosted on the same server, and isalso easily install extra server software if needed. If
malicious or distributes spam, that your website couldyou want to try out a new Apache module, you
potentially be blacklisted as well. With dedicatedhave the freedom to install that software to try it
hosting, you don't have to worry about this sameout. Try doing that with a shared hosting provider!
issue. Often, you can assign several IP addresses toSimply put, shared hosting providers typically do not
your dedicated server, which will appear to searchinstall extra software on their server without an act
engines such as Google as separate servers.of congress!
In addition to security issues, shared hosting serversWhich ever hosting plan you decide to go with is
tend to be the slowest form of hosting. This is ayour choice to make. However, the general
matter of logistics- if you split the same connectionrecommendation that I make is this: if you plan on
among several hundred websites, there is going tomaking money with your website, the only logical
be a performance impact. In addition, if a CGI or PHPchoice is a dedicated server. Given the reliability and
script is written incorrectly by another website ownerspeed differences, you simply cannot risk the
on the same server, it can slow down theprofitability of a website with shared hosting. Simply
performance of your website as well. However, withput, the extra money saved per month will be lost if
a dedicated server, your server will have a directyou lose a client or customer!
connection to the hosting provider's Internet