So I got the SSL certificate for inajiffy.com – guess what ? it does not work for http://www.inajiffy.com. Now what – fork out more for a http://www.inajiffy.com cert ?

Thats where rack-rewrite comes in https://github.com/jtrupiano/rack-rewrite and this post http://steve.dynedge.co.uk/2010/03/03/using-rackrewrite-to-remove-the-www/ helped.

There is a minor error in the post mentioned above in that “:if =>" should be replaced by ":if=>"