What Do You Do For A Day When Your Web Hosting Service Crashes?

Image for the post "what do you do when your web host crashes?"There were two major outages on many sites during the past few weeks.

  1. Amazon AWS EBS degradation
  2. Outage due to Hurricane Sandy

Both these incidents affected many sites hosted in US East. Specifically, there were multiple sites that went offline during the recent Amazon AWS EBS degradation (nice alternative for downtime). Most sites waited helplessly until Amazon fixed it or waited until the after-effects of Sandy to go off. Others did the smartest thing. Moving the entire site to the US West coast. Continue reading “What Do You Do For A Day When Your Web Hosting Service Crashes?”

Get The Best Out Of “Google XML Sitemaps” Plugin

Google XML SitemapsGoogle XML Sitemaps plugin for WordPress is probably one of the popular plugins in WordPress plugins repository. At the time of this writing, it has been downloaded over 8 million times! It is not a small feat by any means. However, if it is used incorrectly, it can drag your site’s performance considerably. Some web hosts even alert the site owner, if this plugin is used in their sites and politely ask the site owner to remove it at the earliest. So, what’s wrong with this plugin and how can you make use of it without affecting your site’s performance (and your host’s CPU). Let’s dive in!

Continue reading “Get The Best Out Of “Google XML Sitemaps” Plugin”

WordPress Backup Solutions

WordPress backup solutions!Do you have a backup strategy for your WordPress site?

If you have never asked the following questions to yourself, then this article is for you…

  • What to backup?
  • Where to backup?
  • How to backup?

This (not so) tiny article discusses the proper way to archive your data, shows the various options available to do the same. If you ever care about your WP powered site, take a minute to read further. Continue reading “WordPress Backup Solutions”

Do “Not” Update WordPress Core Now!

WordPress LogoBy now, all of you would already be aware of the next major version of WordPress. Whenever, there is an update to the WordPress core, I usually send a friendly reminder to my clients to update their WordPress sites. However, I do not do that when there is a major release, update or upgrade (however you wish to call it). Actually, I’d usually send an email, not to update the WordPress core in their sites, if it is a major release. Wonder why? Read on to find out. Continue reading “Do “Not” Update WordPress Core Now!”

MySQL Server Crashed – My Site was still online!

MySQL logoYou don’t hear this often… MySQL server crashed and the sites hosted in that server went offline for hours together. But, when a similar thing happened to my VPS, it wasn’t the case. My site was still online, while I was troubleshooting the issue with MySQL server. Ultimately, I could not figure out the issue and I had to purge the entire MySQL installation. However, I was still cool during the entire process. You may ask how. Here is what happened and how you can prevent the same for your own VPS too… Continue reading “MySQL Server Crashed – My Site was still online!”

Can’t afford Nginx? You have options!

Alternative Nginx SolutionsSome background info: Last month, I had a hectic schedule (that’s why no posts last month) and worked on multiple websites at the same time. A few of them were on a shared hosting environment. As you know nothing can be installed on a shared host. Rest of them were being hosted in a managed webhost. A managed host doesn’t support third party tools including Nginx & Varnish. Additionally a managed web hosting provider hardly allows an outsider to install these too. Moreover, setting up php-fpm on a managed hosting is an easy way to mess up things.

Almost all those sites had more static content than dynamic content. Basically, Nginx is known for serving static files faster than Apache (there are other advantages with Nginx too, but that’s for another day). As only Apache was available in those managed webhosts and in those shared webhosts, basically, I put forward three options to my clients to get Nginx in an affordable way … Continue reading “Can’t afford Nginx? You have options!”

Script to Install and Upgrade Nginx from Source

Nginx logoNginx is a free, open-source, high-performance HTTP server and reverse proxy. It is widely used in many really high traffic websites such as WordPress.com. It is also used here in tinywp.in since the beginning. There are plenty of methods to install it on any VPS or dedicated servers. The official installation instructions available from the official wiki. Here I show you my own script to compile it from source, install and upgrade using a bash script. Continue reading “Script to Install and Upgrade Nginx from Source”