Keeping a website from ever going down requires a multi-faceted strategy and some effort, but it’s worth mitigating the risks of conversion loss and SEO penalties associated with downtime.
After reading this article you will be able to:
Copy article link
On the web, downtime is a period of time when a website is unavailable to any or all of its users. During downtime, users trying to access the site may be redirected to an error page, or see an error page created by their browser. These periods of downtime can carry swift penalties for the site, including loss of conversions and even a decline in search engine optimization (SEO) rankings.
While 100% uptime can be difficult to achieve (even Google and Facebook have encountered occasional downtime due to various issues), site owners can take steps to minimize the amount of downtime a site experiences. Here are several key strategies.
Pick the right host and hosting plan
While issues like unplanned server maintenance and hardware failure can affect any web host, some have better uptime records than others. Uptime comparisons of different hosting providers can be found online, and choosing a host with an excellent uptime record will help improve the chances a site stays up. Choosing a host that offers a good monitoring service is also important; the first step to mitigating downtime is knowing that the downtime exists.
Hosting plans with hard usage limits should be avoided. Some hosts will apply daily or monthly bandwidth limits to their users. This means that a spike in traffic, even one that isn’t big enough to overload a server, can result in the host suspending the account and taking the site offline. To avoid downtime, hosting plans with unlimited bandwidth or pay-as-you-go fees for bandwidth overages make the most sense.
Some hosts also offer failover (or ‘redundant’) plans. This means that if the server hosting the site fails, the host will automatically begin hosting that site from a different server. This is a good protection against hosting-related downtime. It should be noted that a good failover plan will utilize servers in different physical locations. If the failover servers are all located in the same data center as the original host, they won’t be of much help during an outage that affects the entire data center, such as a power failure.
Enable DDoS Protection
Many organizations don’t look into DDoS protection until after they’ve endured an attack that has caused them significant amounts of downtime. DDoS mitigation services can be turned on proactively to ensure DDoS attacks are quickly addressed and downtime is minimized.
Exercise web development best practices
In order to minimize the risk of coding bugs bringing down a site, developers should take some basic precautions. Developing with a local environment, using version control, and immediately testing all production changes to a site, including edge cases, will help diminish the risk of production bugs bringing down a site.
Choose the right registrar
Some domain name registrars are more forgiving than others when it comes to domain name expirations. The best registrars for maximizing uptime are those that both do a good job of informing their customers when domains are nearing expiration, as well as offering a generous grace period after expiration. For more on making this decision, see How to Choose the Best Domain Name Registrar.
Use a CDN
Content Delivery Networks (CDNs) cache website data at the network edge and are able to serve users temporarily cached website files without contacting a host’s origin server. CDNs can help provide coverage during minor downtime blips by serving up the site from cache, even if the hosting server is unresponsive.
Keep in mind that the CDN will only cover brief gaps in downtime, as the cached website files have a Time-To-Live (TTL), after which the CDN will contact the host server again asking for a new copy of the file. This TTL is typically between 30 seconds and five minutes.
Being aware of downtime is important to mitigation. In addition to the monitoring provided by a hosting provider, an independent uptime monitoring service is recommended. These services can send alerts to developers the second a website goes down for any reason.