Webhosts come and go
This is a very important lesson: Webhosts come and go. One commonly-cited criteria for a good webhost is how long it has been in business. This, however, is hardly fool-proof. I had been with my previous host since 2003, I believe, which is six years or so of hosting. Two weeks ago, the server my website was on went down, and stayed down. No replies to tickets, no live chat, no answers to their phone (see this thread on WebHostingTalk). There were tell-tale signs of its impending doom: even before this incident, the server had gone down for one to two days at a time, and my tickets were not getting responded to. But I’d been lazy (and caught up with real life), and neglected to making a backup of my hosting account. My last full backup was from May, five months ago.
On the positive side, I am now a proud owner of a VPS. I decided to go with a VPS because I loved the flexibility and customisability of a VPS, and not be tied down to the quirks and limitations of shared hosting. A dedicated server is way over budget, so I decided to go with a small, cheap VPS instead. After much reading up, I decided to sign up with RapidXen, and purchased a 128MB VPS. Since I had a coupon for 20% off, I decided to get a slightly higher spec’ed VPS, 128MB RAM with 384MB swap and 10GB disk space.
Over the past few days, I have had fun setting up my VPS, and have just put this website back online (though restored from the May backup). Setting up a VPS requires Linux knowledge though, so this is definitely not for a Linux-newbie. There are a quite a few guides, and I found these particularly useful:
- Yes, You Can Run 18 Static Sites on a 64MB Link-1 VPS, an article on LowEndBox, which shows some steps for optimising memory usage on a VPS.
- Reducing MySQL Memory Usage for Low End Boxes, also from LowEndBox, on how to reduce MySQL memory usage.
- Debian VPS configuration and setup, from usefuljaja.com, with a quick-start on setting up and securing a clean VPS.
- Litespeed tutorials, also from usefuljaja.com, which has many detailed, step-by-step instructions on setting up Litespeed web server.
The VPS seems to be running well at the moment, and I hope this will be a long-term host