Hosting Your Own Web Server - Things to Consider

Are you disgusted or disappointed with your currentbe well prepared and if you host other server
web host? Have you switched web hostingoptions or websites on the same server then you will
companies too many times? Have you thought ofhave better performance. At the time of this writing
hosting your own website(s)? Do you have thethe 64-bit platform is the processor direction. 3.8GHz
ambition to control and manage your own webis the most available speed. If your pockets can
server?afford the latest technologies then that is ideal, but
If you answered 'yes' to the questions above, thenkeep in mind at this particular time a 64-bit
you may be ready to host your own sites. Thiscompatible processor is not necessary, without
article will give you things to consider while makinghaving many applications that require or deliver on
the switch.that platform. That is a lot of speed going no where
When being your own web host you should befast. Also, remember the power of the 64-bit
technically inclined and have basic knowledge ofplatform and the greater the processor speed the
operating systems, understand technical terms,more heat it produces, therefore it must be cooled
understand how to setup a server environment (suchmuch more rapidly and efficiently. At this time a dual
as: DNS, IIS, Apache, etc.) have basic knowledge of32-bit, 2.8GHz - 3.2GHz processor will suffice (even
scripting languages and databases (PHP, Perl, MySQL,that is way more than enough). Though, if your
etc.), be familiar with current technologies, and havepockets can afford it then the latest and greatest
a basic understanding of hardware and serverwould be fine, you will be well prepared. Otherwise,
components.do like most people and upgrade when the time
You should realize the pros & cons. It is onecomes.
thing to say, you want to host your own web serverMake sure you have a CD/RW drive. A floppy disk
and it is another thing to actually do it.drive is not needed, but I do recommend it for
Pros:making system restore disk. The CD/RW drive is
Own sense of responsibilityneeded because you need some type of removable
Awareness level raised (you are at the frontline of allstorage device. You never know when you need to
server happenings)install a driver from a different location...like a ethernet
No monthly hosting fees/accountsdriver. An external CD/RW drive is the best option,
Incompetence no longer existespecially if you have multiple machines.
Non-shared environment (dedicated server)Choose your operating system carefully. Choose the
Unlimited websites, databases, content, storage, etc.vendor which you are most comfortable with. Do not
More bandwidthchoose a MAC if you never used a MAC before. Just
No more waiting on someone else timebecause your friend suggests it and says it is a piece
Complete controlof cake does not mean it will be for you. You are
Cons:trying to get a web server online not re-learn a
Exhausting at timeswhole new system. Stay focused and grounded. If
Faced with server/hardware problemsyou are comfortable with Microsoft then go with
ISP business account (monthly business/broadbandMicrosoft, regardless if the IT person at your job
expense)says Microsoft products are unsecure, Linux or Unix
If server goes down then the website is offlineis more secure and much better for a web server. If
No technical support teamyou have never used Linux or (especially) Unix then
Software, hardware, and network expensesyou will be in for a ride of your life. Your web server
There could be many more pros & cons but I'veexperience will soon become a nightmare and you will
pointed out some of the major ones. Managing ahave wasted thousands of dollars on equipment. Go
web server starts as a full time job, you mustwith what you know, not what you are told. Each
constantly monitor its performance and security. Thisplatform has its pros and cons: Microsoft is the
can sometimes be an exhausting task, especially ifuser-friendly of them all; Mac is the web/graphic
you currently have other responsibilities. Though, thedeveloper of them all; Linux is the open-source
control you will have over your website and itsdevelopers paradise of them all; Unix is the most
performance is rewarding enough. You no longersecure of them all. Each of them can be tweaked in
have to wait for technical support or approval toways to provide a solid, quality platform, it is best to
install a script onto the server. You can have asstick with what you already know.
many websites and databases you want, as long asYou should install on your system all the web
your hardware can handle it. You no longer have toservices (such as: Apache, IIS, etc.), applications
go into the discussion forums and search for the(such as: backup device software, RAID (Array)
best web host or rant about how much you hateManager), scripting languages (such as: PHP, Perl, etc.),
your current host. You can even begin hosting familyCGI, Database (such as: MySQL, Microsoft SQL, etc.),
& friends personal websites.and a web log analyzer (such as: weblog expert,
Ask yourself, how technically advanced are you?nihuo, etc.). It is also recommended to perform
Many times you do not have to be a tech guru orsystem updates, security patches, and firewall installs
anything of the sort, but you must be veryand configurations. It is sometimes best to leave the
resourceful. You must know how to find resolutionssecurity installs and configurations for after you have
and answers to problems, quickly and efficiently. Thisthe system functioning properly to avoid any
means you must be internet savvy. Not just theuncalculated problems. This way when you install the
average surfer, who surfs aimlessly, but you must befirewall and something stops working properly like
the surfer who can always find what they areconnecting to your website from outside your
looking for. This is key, because with any servernetwork, you can troubleshoot assuming that it is the
environment you are going to run into problems andfirewall, therefore you would begin by opening port
finding the answers are most accomplished online,80 on the firewall. This method can save you a lot of
using multiple resources, search techniques, andhassle, but can sometimes be considered the
engines. Sure you can hire someone to fix yourunsecure method, especially if you don't have a
problems, but as we should have learned from thehardware firewall already in place.
"web hosting", having someone do it for you isn'tNext, there are a few things to consider before
always the best option. Here is a test to see if youinstalling and configuring a server. Where to put it? A
are ready to find solutions. I need a solution to asecluded, cool location is ideal, but if this cannot be
Microsoft Windows 2003 Server Event Error - "Eventaccomplished then adjustments can be made.
ID: 1056" it's a DHCP Server Error. How would youWhere to put it?
search? Go ahead find the solution.Locate a location within your home that is static-free,
Did you first go to Google? If you did, that was awe do not want to put the server on the carpet,
nice effort and common for most, plus a good placenear curtains, or anything else that can produce a
to start, but usually it is best to start at thestatic reaction. The reason for this is that you do not
developers' website. In this case "microsoft.com"want the server internal components to receive a
would have been the first option. Why? Googlestatic charge and short circuit.
would more than likely provide you with the answerThe location should be a cool environment, preferably
from Microsoft and other sources, but you don'tbelow room temperature. The reason for a cool area
want to get inaccurate information from otheris because servers (as well as desktop computers)
sources. It is common to get information fromproduce large amounts of heat, the more heat it
Microsoft that would not specifically resolve yourproduces the more it needs to cool off. If the server
problem, but the developer should always be youris not kept cool, then this can lead to the server
first place to search for the answers. Now searchhanging and then eventually crashing. It's the same
the error again and go to the Microsoft site and findresult of when a car overheats, it stops running. You
the solution.can keep a server internal components cool by
You should had found this (Event ID 1056 is Loggedkeeping the room cool, additionally you can add more
after installing DHCP)fans to the server which cools the server internal
What search phrase did you use? It should havecomponents, you can also position a standalone fan
been Event ID: 1056, because the Event ID is thedirectly at the server back panel and constantly have
exact error, it pinpoints your exact problem withoutthe fan cool the server internal components.
broadening your search. Sometimes the errorDepending on how cool your room is and how much
description is also appropriate to search, just theheat your server produces, getting more fans for
error description by itself or in combination with theyour server may be a must and not an option.
Event ID. It depends on your error, your searchIt is suggested that the server is at a higher level
feedback, your ability, and technique. For thiswithin your house (mid-floor), because if it is in the
example I did not include the error description.basement and a flood occurs it could ruin it. If it is in
Google or Yahoo! should have been your secondthe attic and the sun beams on the attic for hours
option (the two largest search engines). Then searchthe server could overheat. Mid-floor level is usually
other smaller and niche search engines. A goodthe cooler place within the home, but these
search site which makes use of Google's operatorrecommendations is optional and you should put the
tags is Next you should search within forums andserver in the most comfortable and convenient space
discussion groups. If you are pretty internet savvyfollowing the rest of the guidelines.
and have a plentiful or few forums and discussionBe sure the area you choose is not damp or wet (no
groups which you frequent then you might actuallyleaks, moisture, near any liquids, or near a window
visit those places before visiting Google or Yahoo!."especially open"). We all know what can happen
You can even visit those before visiting thewhen electrical components get wet.
developer site since it is a trusted source, but IThe server should sit at least 4" inches from the
wouldn't recommend it, I still would go to theground
developers' site first. Okay, so now we have plantedBe sure a working electrical outlet is near. It is an
our feet and have familiarized ourselves with beingimportant to have a power supply, a good brand is
internet (search) savvy. We are ready to purchase aAPC. Having a power supply can save you from
server!electrical outages, blackouts, and brownouts. Having a
When making a server purchase you need topower supply helps the server keep its power,
consider a few things before doing so. What to buy?remain stable, and unaffected when there is an
A top of the line, quadruple processor, and superoutage, as well it protects your server against
fast turbo server is always ideal, but many times it iselectrical shock. If your outage remains more than 5
not logical or affordable. Therefore, you need tominutes it is recommended to begin backing up
weigh your options (sensibly).anything deemed important and shut the computer
What to buy?down voluntarily as well as any other electrical
First determine your budget. Be realistic and expectattached devices.
to spend at least $2,500 for a low-end server. For aHave a LAN line near and also a phone jack (if you
low-end, quality server with other needed equipmentplan on using the server for any dial-up services). It is
and services I spent a little over $4,500 easily.not recommended to use your web service with a
Determine your ISP (broadband) provider. Researchdial-up connection. A broadband connection or greater
and speak with several different vendors beforeis recommend for optimal performance. The LAN line
deciding which broadband solution best suit yourshould never come from your wall and plug directly
needs. Each provider plan is different and hasinto your server, it should plug into a hardware
different benefits, determine the best one which fitsfirewall (usually a router with a built-in firewall).
your needs. Bandwidth should be put intoDepending on the size of the server and the internal
consideration when choosing your ISP.components the server may be extremely noisy and
A backup device should be purchased beforeloud, especially with the fans going. It is suggested to
implementing a server install. The backup devicehave the server in a secluded location which is not
should be double the server storage space. This couldnear any peaceful area of the house, such as:
be a standalone unit like an external hard drive orbedroom.
network storage device or the backup device couldThose are all some basic things to consider before
be multiple devices such as: backup tapes, disc, etc.hosting your own server. Hosting your own server is
The reason the backup device should be larger isnot an easy task, but once you have had some time
because you want to be able to have months worthand experience with it, it becomes a breeze. You will
of backups and not just weekly or monthly backups.have a better web hosting experience, you will be
You should have at least 24 weeks of backupsmore in tune and reliant to your customers, and you
without the concern of storage space. The backupwill gain greater technical aptitude. Hosting your own
device or safe deposits should also be external,web server is rewarding, useful, and gives you the
removable, and portable. This is so the backups canopportunity to host unlimited websites, databases,
be stored in a remote location. Usually forservices, etc.
safe-keeping, in event of a theft or disaster.If your web traffic becomes too great for your
Determine your daily traffic goal (the daily trafficserver then it is recommended to choose an offsite
which you hope to see within 1 year - be realistic),web host. It is recommend to purchase a dedicated
divide that number by the daily traffic you currentlyserver with a quality web host. If you choose a
receive, and then multiply that number by 5. That isserver with the above recommendations then your
the total number of GB space you need.server traffic should be fine for at least up to
Example:25,000,000 page views per month. It could be
Daily Traffic Goal: 10,000 (Divided by) Current Dailygreater or less depending on your operating system,
Traffic: 500 (Times X) 5 = 100GByour server configuration, performance, applications,
In the example you should purchase a 100GB Hardand services. The point is you should be well in a
Drive, it is best to buy 2 or more drives oppose to 1.position to purchase dedicated server space by the
In this case, since 50GB drives do not exist or hardertime your traffic gets too high, because if you are
to find, you would buy two 60GB drives giving you agetting anything close to 1,000,000 page views a
total of 120GB. 2 or more drives are usually needed inmonth you should have some competitive advertising
a server to configure the proper RAID option, inor ecommerce income. And plus, with the knowledge
some cases 3 or more are needed. Your backupyou will gain from the experience you will be able to
storage space should be a minimum capacity ofsupport your own server at a dedicated server
200GB (or 240GB, optional).(remote) location, thus cutting more overhead.
Determine your memory. If your web server dailyThe biggest disadvantage of hosting your own web
traffic goal is 500,000 then I would recommend atserver is the uptime reliability. If your web server
least 2GB worth of memory. If it is a shared server,powers down for any reason then your website is
meaning it also has other server services running onoffline. Usually web hosting companies have methods
the machine, especially a mail server or databaseand networks to prevent this failure from affecting
server (which is not recommended) then youryour website. Usually if the system goes down they
memory should at least be 3GB or more. Otherwisehave a mirror location where your site is rejuvenated
you can think small and upgrade as needed, a 1GBand doesn't experience much downtime. Some web
memory stick should be fine for starters.hosts do not practice this method or any other fault
Determine your network components, which NICtolerance. Imagine if a blackout or power outage
card best performs under high traffic levels andoccurs, then your web server could be down for
which router best performs for your LAN / webhours or even days, this can affect your business
server. It is best to get a router which has a built-ingreatly. There are some hosting companies who
firewall (commonly known as a "hardware firewall").provide mirror web hosting for a small fee, I haven't
Your ISP may provide you with a router or hardwarefound one that is reliable yet. Or you could cross
firewall, this is how they are able to authorize youryour fingers and hope for the best, until you are able
traffic on their network. Like a cable box does forto host your server outside your home on a larger
cable television. The router also shares your IPnetwork.
address with other clients on your network. ThisHosting your own server usually is not a
enables you to share your internet connectionmoney-saving experience. It sometimes cost more to
without having to get a different IP from your ISP.host your own server, when you total the up keep
The hardware firewall is simply a router with a built-inand maintenance. The benefit of hosting your own
firewall, which means it shares your IP address asserver is usually a better platform for your
well as provides added protection to your network. Itcustomers, because it is no longer a shared server
blocks bad addresses and ports at the forefront,and it gives you the ability to make global changes
before it can even make it to your computer. It isalmost instantaneously. When your customers
not recommended to rely only on a hardware firewallrequest more performance or specific applications,
for security, this is just the first step. It isthen you will be able to implement this immediately.
recommended to also include a software firewallCustomers like to know that you are in control. If
(firewall software which installs on your computer)you tell your customers that the server will be down
and it is recommended to continue timely securityfor maintenance from 6 a.m. - 7 a.m. then it would be
practices, such as updating and patching your systembest if that is when your server is down, not from 5
on a scheduled routine.a.m. - 10 a.m. You know how your web host will tell
Determine your processor speed and power.you one thing and then you have to try explaining it
Regardless of the amount of traffic you areto your customer. In the end it will benefit you to
expecting I would recommend a dual processor orhost your own web server as a web business, this
greater. A dual processor or greater is best becausehelps you and your customers.
if your website unexpectedly take off then you will