Due the high cost of webhosting service ($12 per month), so many webmasters or Bloggers have been asking the question; is it really possible to self-host a website or blog on my own personal computer? Why can’t i host my own website or blog files on my laptop?.
Yes it’s possible to self-host your own blog or website on your laptop or PC (provided that you have the technical skills).
The web files of Torrents, Bitcoins and other illegal websites like thepiratebay.org, kickass.to, silkroad.com and the music&software pirating websites, are self hosted by the website owners themselves and not the webhosting companies . No web hosting company can host the files of such websites on their server. In fact if those illegal websites were hosted by the commercial webhosting companies like Hostgator, Bluehost, Dreamhost etc, it would have been very easy for FBI to take down those illegal websites. But due to the fact that the web files of those illegal websites are self-hosted on the personal computer of the website owners, it has been very difficult for governments to take down those websites. For example It took the FBI a very long time to take down silkroad.com; the most successful classified ad website for cocaine and other contrabands.Why? because the guy running the illegal website was self hosting the website files on his Laptop.
I,m not telling you all this things to motivate (inspire) you to set up your own illegal website, but to enable you to clearly see the possibility of self-hosting your own webfiles on your laptop or PC. It isn,t compulsury that you must rent a hosting space from the web hosting companies in order to set up a website (blog).
Nowadays there’s a very narrow difference between a webserver computer and a PC. Most PCs (especially the Gaming Computers) now have a very high processor speed, Large RAM and a Large Hard disk space that also makes them suitable for webhosting.
So if you have a very powerful PC or laptop like the ones mentioned below, you will be able to self-host your website or blog files on your own PC and kiss Hostgator goodbye.
- Alienware Aurora PC
- Cyberpower PC or
- A Powerful Gaming laptop like the Alienware M18X.
With a powerful computer like the ones mentioned above, all you need to do in order to turn your PC in to your own Webserver and start self-hosting your website or blog files, is by install a webserver software and a database application on your PC. I,m going to show how to do that.
Somebody may likely want to ask, If it’s really possible to self-host our website or blog on our PC or personal laptop, why do many bloggers or website owners still prefer to self-host their blog (website) through Hostgator, Bluehost and other webhosting companies?.
8 Barriers to Self-Hosting on a PC.
Many people are unable to self-host their website due lack of technical knowhow. To effectively self-host your website (especially sophisticated websites like YouTube, Facebook and the likes) on your PC, you will need web programming knowledge (coding skills). However nowadays with the availability of a webserver software package like XAMPP and the content management softwares (CMS), even people with little or no programming skills will be able to selfhost websites like blogs, mini forums and small social networking websites on their PC. When we get to the section about how to self-host a WordPress Blog on a PC,you are going to learn about how to do that.
Unaffordability of Web hosting PC
Like i mentioned earlier, to be able to self-host your website or blog on your PC, you will need a very powerful PC like the Gaming PC. Those computers are very expensive. Rather than buying a $2000 laptop just to host a simple blog, they prefer to spend 1 quarter of that money to subscribe to a 3yrs hosting service at the webhosting companies.
24/7 Internet Connection.
To effectively selfhost your website or blog on your PC, your PC (the webserver computer; where your webfiles will be hosted) needs to be constantly connected to the internet 24/7 in order for your website or blog to be accessible at anytime. Everyday and Everytime of the year, you are able to access the Facebook website… this is because the webserver computer hosting the Facebook website files is constantly connected to the internet. So if you are living in a country where internet connection is unstable or too expensive you won,t be able to effectively host your website or blog. For example in 2017 internet connection was shut down for 3 months in the South West and North West region of Cameroon. If you were living in those two regions during that period and hosting your website, there would have been no way for the internet users to visit your website.
To be able to self-host your website or blog files on your PC, the bandwidth of your internet connection also needs to be very large. For those of you who don’t know what Bandwidth means, bandwidth is the passage way through which data or information flows to and from your webserver computer. It should be noted that after you have successfully turn your PC into a webserver and hosted your website (blog), your PC (now webserver) will start receiving numerous request for webpages from internet users around the world. Those requested web pages needs to be served to the specific internet users very quickly and silmutaneously. The bandwidth of your internet connection will determine the amount of data that can be served per second or minute.
Let,s take for example that the allocated bandwidth of your internet connection is just 50 MB and the size of each web page on your website is 1MB. With a 50MB Bandwidth, your webserver will only be able to serve just 50 Webpages per second (50MB per second). If 2,000,000 request for web pages are sent to your webserver per second, your webserver won,t be able to serve all the requested webpages per second (instantly) due to limited bandwidth. Because of that, your web server will take a long time to serve all the requested web pages and your website will take a long time to load on your web visitor’s browser. But if the alocated bandwidth of your internet connection is increased to 2 GB, your webserver will be able to serve more web pages per second or minute. Limited Bandwidth is the reason why you often hear that certain websites have crashed or take a long time to load.
When website owners start receiving lots of web traffic to their website, most web host will ask them to upgrade to a bigger hosting plan. This is because the allocated bandwidth for their hosting plan will no longer be able to support their amount of web traffic and so their website will take a long time to load or even crash if they don,t upgrade. For example when the website of Kylie Jenner,s cosmetic website was launched, the website crashed within 20 minutes. This was because the number of request for web pages that was coming to the her web server per second was far greater than the allocated bandwidth.
Imagine that you are a cafeteria owner with just 2 hands and you have 1000 very hungry and impatient customers standing infront of you with plates in their hands. They all want their breakfast to be served at the same time i.e. very quickly (within 20 seconds) or else they will leave your restaurant, will you be able to do that. Ofcourse no! because you only have two hands and with 2 hands you can only serve just one customer at a time and so it will normally take you a long time to serve all those 2000 customers. But if you had 2000 employees (more bandwidth), you will be able to serve the meals of all those 2000 hungry customers very quickly. Your bandwidth is just like your number of employees and the request for web pages coming to your server are just like the number of hungry and impatient restaurant customers who want to be served their meals very quickly.
Internet users are just like the hungry restaurant customers. They want to be served their meals urgently. Once most Internet users type in your web address in to their web browser (send a request for a web page to your server) they expect to see a webpage appear on their web browser within 20 seconds (similar to the hungry restaurant customers who wants to see their meals on their table within 20 seconds). So your webserver needs to serve web pages very quickly. Your bandwidth will determine how fast your web server will serve the web pages of your website to internet users. The greater the bandwidth of your internet connection, the quicker your webserver will be.
So bandwidth determines the amount of traffic that a web server can handle. Like i mentioned earlier, bandwidth is the passage way through which data flows to and from your web server computer.
Limitted bandwidth is the greatest barrier to self-hosting on a PC. That,s why i had to take my quality time to explain what it means.
Most internet service providers often specify the bandwidth of their internet connection. That information may not be important to those who just wish to surf the net with their PC but if you intent to use your PC as a webserver (for web hosting), then you will need to check the bandwidth of an internet connection before subscribing to it.
For most small (text based websites) like blogs that receive not more than 10,000 web visitors (traffic) per day, 1GB of bandwidth will be enough. With a small amount of web visitors, less request for web pages will be sent to your webserver per second (minute) and your web server will be able to serve those requested webpages quickly and silmutaneously. But if you intent to host a very high traffic website (with more than 50,000 visitors per day), you will need a higher bandwidth or else your website will load very slow at a certain time of the day (whenever the request for web pages exceed the allocated bandwidth of your internet connection). You will even need greater bandwidth to host social networking websites and other websites that web visitors will also be able to upload files to your server.
Summarily, the type of website you intent to host, the size of your webpages and the amount of web traffic to your website will determine the amount of bandwidth you will need to successfully host your website on your PC.
Remember!, the higher your bandwidth, the greater the amount of web traffic your webserver can handle.
Limited Bandwidth is one of the reasons why many people don,t host their blog or website on their PC especially those people living in the developing countries.
Lack of a Static IP address.
Most internet service providers often assign a dynamic IP address to their clients and Dynamic IP address are not suitable for web hosting. For those of you who don,t know what a dynamic IP address is , a dynamic IP address is an IP address that isn.t static. For example, whenever you connect to the internet, a new IP address will be assigned to your PC. To effectively self-host your website on your PC, you will need a Static IP address (an IP address that doesn,t change). It should be noted that in order for internet users to access your website through your domain name you will need to point your domain name to your server IP and your server IP address needs to be static (permanent) or else whenever there’s internet interuption or your internet connection disconnects, your website won’t be inaccessible (due to a change in your server IP) and so you will constantly need to point your domain name to the new IP address in order for your website to be accessible.
In certain parts of the world where there’s frequent power outage (especially certain regions of Africa), self-hosting on a PC will be almost impossible. Like i told you before, your server needs to be constantly on and connected to the internet in order for your website to be accessible. Which implies that whenever there’s power outage, your website will be down. However, if you are really serious about self-hosting your website on your PC, you can buy a standby generator. to minimize your server downtime
Limited disk space.
Limited disk space may not be a barier to self-hosting on a PC if you intent to host a blog or other websites where your web visitors will just be able to read your articles and leave their comments. But if you intent to host dynamic websites like Facebook, YouTube and other websites where your web visitors will be able to upload pictures, music and video files to your server, then you will need a very large disk space. Atleast 3 tetrabands will be needed.
With the numerous threats from hackers nowadays, Server security has now become the greatest barrier to self-hosting on a PC. You will need cyber security skills in order to effectively self-host your website on your PC. From time to time, the commercial web hosting companies like Hostgator, Bluehost etc often hire or consult top security agencies to monitor and scan their server for any new vulnerability. You obviously won,t have $10,000 to hire a professional cyber security expert to scan your server.
Summarily, this is what you will need to be able host your website (blog) on your PC.
- You will need a webserver software package like XAMPP (to turn your PC in to a web server). XAMPP is a free web server software. It’s a 3 in one package that contains Apache, MySQL, PHP and other softwares that makes it possible for you to host any kind of website on your PC (provided you have enough bandwidth).
- You will need a very Powerful PC. See the amazon,s list of frequently bought Web Hosting PC.
- You will need a very high bandwidth internet connection. Like i said before, the higher your bandwidth the faster you internet connection will load faster in the browser of internet users.
- You need a static IP address. This is no longer a barrier because nowadays there are websites like no-ip.com that will enable you to obtain a static ip address for your PC (Web server).
- You will need atleast a basic knowledge in web security. Nowadays there are lots of cheap courses in Udemy.com, lynda.com and other tutorial websites that will enable you to easily acquire this skill.
From what you have read, you must have realised that hosting a website on your own personal computer will be 10 times expensive than self-hosting your website (blog) with Hostgator, Bluehost and other commercial webhosting companies. Nowadays, with just $200 you can subscribe to a 3yrs hosting service at Hostgator and successful host your blog or website without worrying about bandwidth, power outage, web security and issues etc.
Unless you have a special reason to host your website or blog on your PC (apart from saving cost), i won’t advise you to do that. Hosting your website or blog on your PC will make your website or blog to become more like a liability to you than an asset. Still wanna know how to host your website or blog on your PC?. Ok let’s get down to business.