↓ Skip to main content

Changing servers

·2 mins

So, it’s been a little bit quiet on this blog for the past few days. The main reason is that it’s been on the move from the hosting provided by our ISP (PlusNet) to my SliceHost slice. Things would have been much quicker had I not decided to switch Apache for the increasingly popular (due to its low memory usage) nginx.

As is the beauty of a virtual server, with the click of a mouse I had a clean Dapper Drake install to start with. Rather than install nginx from source, I decided to upgrade to Feisty Fawn and install via apt. This means losing the long term support of Dapper but, hey, its my server and I’ll just have to upgrade again when necessary. From there, getting an nginx, mysql, Rails and PHP setup is well documented, on top of which I added an init script for FastCGI.

Then things started to get a little tricky. Our blogs use clean URLs for both WordPress and Gallery2 but these generate rewrite rules for Apache’s mod_rewrite. Translating these to nginx for WordPress is fairly straightforward but, despite many wasted hours, I’ve failed to get Gallery working correctly. The problem appears to be that nginx URL encodes when rewriting from the path to parameters and Gallery doesn’t seem to handle this well. Anyway, in the end I’ve gone ahead with the move but with Gallery rewrites turned off.

I’ve also switched to using SliceHost’s nameservers for one of the domains. The other is still stuck with PlusNet as the nameserver as the registrar (123-reg) returns an error when I try and update the settings.

If you can see this post then all of the important bits are working though!

Related

Google Apps

·1 min
Just to show that I do listen to you dear reader, I’ve followed up on Oliver’s suggestion and moved our e-mail over to Google Apps. The process was pretty painless: sign up for an admin account, verify ownership of the domains, setup users, modify the MX records and then configure our e-mail clients. A day or so delay whilst the DNS records replicate and everything is now working smoothly. POP3 and SMTP access is via SSL which is a bonus and means I no longer need to rely on my FastMail account to send when away from home. The spam filtering is excellent - I’ve even got a 12 year old e-mail address (a spam trap if ever there were one) coming back in to my main inbox again. Other than that, the only noticeable effect is that my incoming messages are no longer tarnished by a “Virus checked by PlusNet” footer. Oh, and of course there is the GMail web interface should I ever feel the urge…

Hosting by the slice

·2 mins
A couple of months back I was looking for somewhere to host a Ruby on Rails app (of which more in another post shortly). In the end I settled for a Virtual Private Server from US firm Slicehost (who are themselves Rails developers). For just over £10 a month I get 10GB of storage, 100GB of bandwidth and 256MB. Bargain! I’d love to use a host in the UK but I’d easily be paying twice that and getting half the spec (unless someone out there can point me at a good deal I’ve missed).

WordPress 2.2

·1 min
Having missed the previous security update I decided to upgrade to WordPress 2.2. I’m glad to say everything seems to have gone smoothly (although PlusNet managed to take the site down again at one point which had me a little worried). Nothing really different for you, the reader, to see. Widget support is now there out of the box but then I had the plugin installed previously anyway.

1 archived comment

These comments were left on the original WordPress version of this site. Comments are now closed.

  1. DaveAuthor

    Turns out 123-Reg aren’t actually the registrar for that domain any more which explains why I couldn’t change the nameservers with them! That just leaves the question of why it appears in their control panel.