Making a website hosting server at home : My Experience

Hello everyone! Hope you all are doing okay!

Well lets not waste any more time then. In this post, I will recollect all of the experiences which I had while setting up the Web Hosting Server in my home. As I have mentioned, I am a Computer Science Student and I like to tinker a lot with different kinds of technologies and that’s when I got the idea to set up my own Web Hosting Server. I read around on the internet and looked up the hardware specifications (I have an entire article on how to choose hardware for your Server in case you missed it). In the end, here is the Server Setup that I had:

  • Intel Xeon E3 – 1220 Processor with 3.1Ghz clock speed and 8MB Cache
  • Gigabyte GT 297 Motherboard
  • ECC Crucial Server 8GB Memory Module
  • Seagate Barracuda 1TB Internal Hard Disk
  • 4Mbps Broadband Internet Connection
  • Logitech K400R Wireless Keyboard
  • Logitech M320 Wireless Mouse
  • 20” Acer V203H Widescreen LCD Monitor
  • Operating System of Choice: Windows Server 2012 R2

computer-169974_640

I know I know a lot of you may question my choice of going with Windows Server 2012 R2 instead of any popular distribution of Linux such as Ubuntu Server 14.04.3 LTS. So first of all, in case you missed it, I have written an entire article debating and weighing the pros and cons of both Windows and Linux as Server Operating Systems. And based on those weights only, did I choose to go with Windows. And I reason is that I wanted to get my Server up and running in as little time as possible and I had no prior experience of setting up a Linux Machine. If I had chosen Linux then I would have to spend an ample amount of time first trying to set up a Linux Server and then learn the Command Line interface of Linux in order to get anything decent out of it. On the other hand, Setting up a Windows Server is a fairly easy and straightforward process. Also I am very much used to the interface of Windows since I have been using Windows probably ever since I started using Computers. Therefore, I chose Windows as it was saving me a lot of time. Having said that, there’s no denying the fact that Linux truly is much more stable than Windows Server and is a lot more flexible ONLY and ONLY if you know how to use it. Probably one of my next challenges would be to learn how to set up a Linux Server and then shift the hosting service from Windows to Linux. Though I’m not sure when I’ll actually take up that challenge.

Moving on, so I bought my copy of Windows Server 2012 R2 (read my post about what’s better, Windows or Linux) and no, I did not download a pirated copy off the Internet if that’s what you’re thinking. I assembled the Hardware components, installed the Operating System and the Server came to Life! However, this was just a regular PC. To make it a proper server, I had to install all the necessary tools that would come in use. So that’s what I did and installed all the tools such as an Apache Server (absolutely necessary to run a Web Server), Mysql, FileZilla for setting up an FTP Server, a VPN and other similar range of services.

There were two problems which I faced with the Web Server.

One was that since I lived in a relatively hot and humid area, the server would heat up a lot and therefore crashed sometimes. So to counter that, I installed a proper cooling system. I wanted to save the cost of using the Air Conditioner 24×7 as that would cost me a fortune on electricity bills. So what I did was install a stylish bladeless Dyson fan near my desk as well as an efficient Lasco window fan in the window which worked as an exhaust fan. The entire setup not only got rid of all the heat generated from the server but also made the room feel much more cooler than the remaining parts of the house.

The second problem was that power outages were very common in my locality. However, I didn’t really have to do anything about that as there was a stand by generator installed in my House and the Server would start up automatically in nearly 6-7 seconds after being shut down due to power failure. Yes, that resulted in a downtime but It was very negligible as well as affordable. The last thing which I did to ensure reliability of my Server was to have a low powered PC connected to the Server via a network with Tons of storage whose sole aim would be to store the data files of the Server as backup in case the Server crashed or was breached and all the data was lost.

Also, I did not realize it in the beginning but I should not have put the server on the same power circuit that my kitchen appliances use. I have a habit of eating french fries while working on my project. I cook them at home (btw, I use a here’s the one I have at home) from flash-frozen pre-cut potatoes. So, I set up a bunch to fry and then go to my office to work. Once it is ready and the fryer timer makes a sound, I come back and bring the fries to the office. In the beginning, when my server ran at the same time as the fryer, I often ended up with dead fuses 🙁 So I had to carefully choose a power outlet to plug in my server to avoid such collisions.

Oh well, that were my thoughts went stray. Back to the topic.

Now that my server was up and running, the final phase was to pitch my service out to potential users. Now since I am not a professional Web Hosting Service provider, my best chance at getting Clients was through Free Web Hosting Services with add on packages which were obviously paid. So what I did was set up my website for Web Hosting, made a few packages such as “Free, Bronze, Silver and Gold” and went live with my service.

I did end up making quite a fair amount of money from it and I still do. However to truly get a serious amount of cash out of this, one has to invest a lot of time and energy into this and take it as a business. I didn’t set up a Web Server because I wanted to have a professional service which I could sell for Money. My aim was to learn and that’s I what I did. I learned how to set up a small scale web hosting Server in my home. And now that its been done, I look forward to my next endeavor.

It was nice talking to you all. See you all soon !