Home-Based Web Hosting
Web Hosting – it’s something we all here about but how it is important? How to choose the best web hosting company? And do higher prices mean better web hosting?
Google shows us the top searches for “home-based web hosting” as,
- how to create your own server at home for web hosting
- how to host your own website server
- steps to host a website
We can keep asking many questions, but choosing the right web hosting is one of the most important decisions that you can make while developing a website. The decision should be taken at the initial stage of site development and for sure, before the actual coding.
Resources of website hosting from home
If you build a highly visited website with high bandwidth utilization, you should consider web hosting, which gives you what you need. If your site provides online services and high availability is the main factor, then you should look for hosting with high uptime.
When you choose the type of hosting, you should have an idea of how many visitors you may get, what your visitors will do. Then you can decide if you need a shared server or virtual private server or a dedicated server or server co-location. Of course, all that increases the price you have to pay every month.
If you need sitemap and RSS XML files to be generated automatically, then you also need the ability to execute scheduled tasks. This will also jump your monthly price. And what about service level agreement (SLA) for uptime, and how exactly is it calculated?
If the web server is up, but not responding, does this considered as downtime, probably not? What about scheduled maintenance windows – these for sure not counted as downtime. What about other websites that need to be deployed or their code has changed and restart is required, does that counts as downtime? No.
When web hosting promises 99% of uptime, in fact, you will get much, much less. If you need to deploy your website changes which require a restart, for how long should you wait until it is done? Most likely not with the same day or even week.
What about system resources? Are they allocated only for you? No.
On the same physical server running hundreds of other websites. Each of them consumes CPU and memory, but these are shared, which means you get less, and more frustrated is when you really need them. And what about a patch or special configuration your website requires? No, it cannot be installed since it may harmfully affect others. And if some patch was installed, but it caused your website to stop working properly – well this is your problem! Not to mention — what about moving your website from one host to another.
Sure, moving files is easy, but what about a database?
I can continue and bring more and more life examples, but this is not the purpose here.
The Cost Of Home-Based Web Hosting
The question is why people are not considering running websites from home? Today it is an easy and convenient way and does not requires deep knowledge. Lets’ make calculations on how many visitors home internet connection can support.
Lets’ take DSL service of 3M with powerful 1.5M download capabilities and 800K upload. Search friendly HTML pages should not be too big and lets’ take the average page size of 10K.
To load such page with 800K upload speed (it will be download speed for visitors) should not take longer than 1 second.
Lets’ take the assumption that loading page takes 2 seconds. Simultaneously we can accept 800K/10K=80 concurrent visitors.
For our calculations, lets’ take even lower numbers – 10 concurrent visitors every 2 seconds. It means that in 1 minute we can receive up to 10*30=300 visitors, in 1 hour we can accept 300*60=18,000 visitors and daily 18,000*24=432k visitors. Impressive.
If you reach that volume of daily visitors, you most likely can afford to buy your own hosting company. The average websites receiving 10k a day, which means 10,000/(24*60) = seven visitors a minute or visitor every 8 seconds – for home connections this is a piece of cake. With constantly increasing internet connections speeds by ISPs, almost every year you can afford to receive more and more visitors.
Does web hosting from home save you money?
Price is always a factor in choosing web hosts. Lets’make a comparison here. Private server hosting with Java support will cost you around $60 a month. Not private physical server – just private JVM and dedicated web server (Tomcat).
In one year you will pay $720+taxes. How much would it cost you for home-based hosting?
Here is the answer:
- Buying dual CPU server – $500
- Buying buttery backup for 1 hour for 390W (the server can run up to 3 hours on it) – $100
- Home electricity a month – $10 (no more)
- Internet connection – $0 (you have it anyway)
- Static IP – $4 a month
In one year it comes to 500+100+((10+4)*12)=$768+taxes
How To Setup Web Hosting At Home
At home you get – dedicate server with dedicated JVM and full control, running scheduled jobs and installing and configuring what your website needs. To get all that on external hosting, you will pay $300-$400 a month.
So, in 1 year you paid off all hardware expenses and starting next year you save almost $50 a month or $600 per year. Why not invest that amount in developing more services and features on your website?
How to proceed and what to install:
- Install Java Runtime Environment which can be downloaded for free from java.sun.com. Just click on setup, and you have it.
- If you need a database, then consider using MySQL. 99% of web hosting companies use it. It is free and easy to install. Just download from MySQL official website, double click on setup and continue with the wizard.
- Web server – 99% of web hosting are using Tomcat because it is free and easy. Just visit tomcat website download and install by clicking on setup and continue with the wizard.
- Mail server – yes you can even install mail server in 3 clicks. Try SurgeMail – it is free for five mailboxes, and it has webmail access too.
All the above software installed as windows services and started automatically. No need for manual intervention. Every time you reboot your PC, everything is up and running and ready to receive visitors.
The sames software web hosting companies use
Now you have exactly the same software that 99% of hosting companies are using and for the same reason – it is just free.
The last step is just to redirect your domain name to your home IP (contact your domain name registrar for details).
And of course, if you what to see real examples of home-based hosting, please check out following websites:
(I apologize but the website examples are no longer valid – 2019)
Yes, all these eight websites are running from single home-based internet connection, 24 hours a day, every day. The three websites with classified ads considered heavy websites since people can upload and download pictures attached to ads and these sites getting hundreds of new ads every day and thousands of unique visitors.
How To Host Your Own Website From Home
If you are planning your website, then running it from home is not a problem. And nobody can damage or negatively affect stability and response time of your website, and nobody can tell you what can you run and what kind of website content you are allowed. Running your website from home not just saves hundreds of dollars a year, but also gives you the flexibility to adjust your needs as quickly as possible.