This article is part of a series created in partnership with SiteGround. Thank you for supporting the partners who make SitePoint possible.
There are many situations in which you might decide that self-hosting your website is the way to go. You may be a freelancer, an entrepreneur, or be running a personal or even non-profit site. You may wish to host the site on an always-on PC in your basement, or on a small server in your workplace.
Regardless of the situation, on-premise hosting is usually a bad idea. In this post, you’ll have some reasons for that explained, in the hopes of providing useful information or warnings to both business decision makers as well as developers who are inexperienced with the “operations” side of the Internet – in this case, hosting websites.
Self-Hosting Has More Barriers to Starting
Depending on your Internet Service Provider (ISP) and your situation (whether you have a business class service package or a residential one), you may run into issues with your ISP blocking port 80 — the port to which most Internet traffic defaults. You may also be issued warnings or even have your service shut down if you host websites on-premise. This is most common when you are trying to host a site from your home connection and the ISP prefers that if you wish to do so, you purchase a business Internet package that is perhaps thrice as expensive.
However, some ISPs can still provide limitations even to the business class packages that can thwart your attempts to get your website up and running. Additionally, you will also need a static IP address, which may be an added cost, depending on how your ISP plans work. Most home (and some business) connections use dynamic IP addresses, which means that they change from time to time. If your IP address, the way by which your network can be found online, sometimes changes, you will have no easy, reliable way to point users who come to
yourdomain.com to your on-premise hosting setup.
Self-Hosting Your Website Can Create Security Risks
There are security risks in anything you do on the Internet, of course, but hosting a website on your network opens you up to even more, especially if you’re not certain of what you’re doing. Websites big and small are subjected to denial of service attacks and scripting attacks, sometimes at mind-blowing volume. Your website can be for a single freelancer, a small startup, a two hundred person small company, or an enterprise outfit, and they all will attract attacks — some of which may even be automated and not even take into account the content of the site in question.
Hosting a web server on your network, if you’re not careful, may open your network up to a Pandora’s Box of security troubles that you’d never have to deal with if you hosted your website with a cloud service provider rather than on premise. Do you know enough about web servers (and, if your web server is Linux, do you know the command line)?
Self-Hosting Your Website is Less Reliable
Another point to consider about self-hosting your website is that you have less options for dealing with things like downtime and service outages.
If your power goes out in the typical residential or small business location, you have no control over the situation that follows. How long will it be out? Minutes? Hours? Days, even? It depends on the circumstance. What if a child touches or damages something they shouldn’t, if it’s in your home? What about in the office, if a careless employee spills a drink, or pulls the wrong cord?
Even if you secure your website on a server in a server cage in a dedicated room in your office, you can still run into random events such as a plumbing leak or an Internet service outage. If your bandwidth is exceeding the allotted amount, your ISP may throttle or shut down your connection. Many of these things are entirely out of your control.
All of these points are mitigated by using a hosting service which uses a professional data center to house its servers. They have multiple power and Internet providers, generators, cooling, security, fire suppression systems, offsite backups, and even redundancy to other locations. It’s more than you can possibly provide in-house if you’re the average small business or individual.
Considering the Costs of Self-Hosting Your Website
Let’s take a few looks at the costs of self-hosting your website:
- Static IP – You’ll need a static IP address in order for people to properly find your web server when they enter your site’s address into their browser. That typically costs extra on your Internet bill.
- Better Internet Connection – You also may want a better Internet connection, especially if your website begins to gain in traffic. This, too, will cost you.
- Equipment – You also need equipment to put the website on. A server, or a computer whose primary (or only) task is to function as a web server. If you are using Windows, you’ll need an operating system license and perhaps other software. You may also need extra peripheral equipment – such as a switch or router — that you might not have needed otherwise.
- Backups – You’ll need to pay for an external cloud backup service, if at all possible, and you’ll also need the equipment, software, and time spent on performing local backups as well. You want a backup copy of your data both on-site and off-site, so that you can use the local copy to do quick recoveries, and the off-site copy in a disaster. All of this will also cost money, and the time to set it up and test your backups occasionally to ensure the system is working.
- Paying Consultants – Finally, you should assume you’ll end up needing to pay consultants. Your business may not have the expertise locally to deal with certain networking or programming issues, and if you’re a solo shop, even more so. You might as well chalk this up as a necessity, and have an emergency budget to deal with it when you need it.
Why are you considering this?
If it’s to retain control of things (you don’t trust third parties to host your site) consider the technological and safety concerns here and ask yourself who is in a better position to safely and effectively deliver your website content to visitors – your business office, or a hosting company whose entire purpose is to do this?
Is it to save money? Take a look at the incredibly affordable and full-featured hosting offerings with reputable hosts such as our partner, SiteGround. They solve all of these issues for you without a huge investment. If your business requires a website (and which one doesn’t?) and cannot afford at least a reliable hosting service, perhaps the business itself is in question. What does your business have in its budget that could be replaced (a few dollars a month) in order to pay for the monthly hosting bill? Think about it.
Have any experiences, good or bad, with self-hosting your website? Let us know in the comments.
Jeff works for a startup as a technical writer, does contract writing and web development, and loves tinkering with new projects and ideas. In addition to being glued to a computer for a good part of his day, Jeff is also a husband, father, tech nerd, book nerd, and gamer.
The Principles of Beautiful Web Design, 4th Edition
Learn CSS in One Day and Learn It Well
Learn PHP in One Day and Learn It Well