Archive for the ‘Hosting’ Category


Rimuhosting servers

Periodically I talk to clients about using an OM4 site, and if we can’t do what they need I’ll often recommend they get their own server.

The hosting provider that I recommend is usually Rimuhosting.

When I launched OM4, the first server I used was a virtual private server (VPS) from rimuhosting and they have been consistently good. If you know what to do with a VPS, it is a great option (and rimuhosting only do dedicated servers and VPS).

If something happens to a rimu server, they notice and do something about it (and let you know what they are doing). If you ask them a question, they respond intelligently. And their servers are reliable and fast. That might sound pretty simple and that most hosting providers would meet those tests. But they don’t.

I was prompted to write this post because Rimu have launched a referral programme. I’ve decided not to participate, but that doesn’t mean I don’t recommend them.


Using Amazon CloudFront with WordPress and WordPress MU

Amazon has recently set up a new service called CloudFront, and this week James enabled it for OM4 websites.

Everyone likes web pages that load fast, and one of the factors that determines how fast pages load is the ‘hops’ that are involved in getting all the parts of the web page from the server to the browser.

If your server is in the US and your visitor is in Europe, the page takes longer to load because there are longer (and more) hops involved.

CloudFront has some magic technology that automatically distributes web files across high speed Amazon storage servers in Europe, the US, Japan and Hong Kong. So web files get served from fast locations close to your region.

We are currently using CloudFront for WordPress (and WordPress MU) files that never change. As we extend our use of CloudFront, we will place images and PDFs out in the cloud as well. Dynamic content will come from the core server, and the larger media files will be served from high speed content servers close to the visitor.

Amazon can serve larger files far more efficiently than our servers, and cope with much larger traffic spikes. We already host media in high demand on S3, but until now it has only had one geographical location, not the large number of ‘edge’ servers available with CloudFront.

Hopefully Amazon will extend CloudFront to video soon so we can host video on it as well, although many of our clients like using YouTube to serve video.

Testing results

The initial tests James ran mostly showed a 5-10% reduction in page load times just by offloading the static WordPress files to CloudFront. The one anomaly was when testing our US server by simulating a visitor from a nearby data centre – in that test using the CDN took 3 ms longer rather than 5-10% less.

An OM4 US website

US site loaded from US:
Before: 92.933 [ms]
After: 95.525 [ms]
Result: Slight increase, but this is simulating a visitor in Dallas accessing a web page from another datacentre in Dallas.

US site loaded from Australia:
Before: 728.042 [ms]
After: 687.844 [ms]
Result: 6% decrease in load time

Australian website

OM4.com.au (Brisbane server) loaded from a Sydney VPS:
Before: 223.972 [ms]
After: 200.033 [ms]
Result: 10% decrease in page loading times

OM4.com.au loaded from a US server:
Before: 934.519 [ms]
After: 884.088 [ms]
Result: ~5% decrease in page loading times

We already use Amazon S3 to replicate backups off our production servers. So we really like being able to add this new Amazon service to our platform to make it all go faster.

Amazon really have their act together.


Running a Website Speed Test

We’ve all had the experience of a web page seeming to take too long to respond.  Sometimes the website is slow, sometimes your internet connection is slow …

But if the website is your own, it is easy to worry that there is A PROBLEM and that perhaps visitors to your website are also finding it slow. Or worse still, just can’t get to it at all.

If this happens, there are a few URLs you can bookmark that will help give you peace of mind (or if not, give you some good information to help you ask for support).

WebSitePulseIf you would like to know the response time for your website from the US, Europe or Australia, use WebSitePulse. You can choose to run your test from each of these three geographies. Your website server is hosted in one of those regions, so the response from that region will probably be faster.

Here is the response time report for OM4.com.au as tested from WebSitePulse’s Brisbane server:

OM4 Website Speed Test

iWebTool Website Speed TestIf all you want is the time taken to load your website from the US try iWebTool. Just enter your URL and you’ll get the response time.

Pingdom Website Speedtest DetailsIf you want to see the US response time with all the gory details of how long each component takes to load (the basic web page, the images, the style sheets) in technicolor detail then Pingdom is for you.

Is your site slow or fast? Well, pick some other sites and do a comparison using the same tool. Keep in mind where the site is hosted can have a significant bearing on the relative speed. So if you want to compare to your own site, use the WebPulse tool and use the correct region.

Google’s US search page loads in 0.6 sec from the US. If you can find anything that beats that, you are doing well. Amazon’s home page loads in 6 sec from the US, and this is clearly fine for running an online business.

At least with these test links you never need to wonder if your website is slow or not!


4 Options for Linux Website Hosting

We host all our OM4 websites on Linux and take care of all the technical details (so our clients don’t have to). Small business owners really should not try and do hosting themselves, in my view. There are too many variables.

That said, if you are interested in hosting your own website on Linux, before you go looking for a hosting provider you have a few options to consider. You’ll find your choice of hosting provider will vary a lot depending on which option is best for you.

Shared Hosting

This is the cheapest by far. A hosting provider gives you access – along with an unknown number of other customers – to an account on a Linux server. You generally get Cpanel access to your account, and install/manage your software. Some hosting providers have 1 click installation options for popular software, which makes setting up and upgrading a lot easier.

There are a few drawbacks with shared hosting. If you have any non-standard requirements (for example, specific configuration for your DNS, or changes to PHP/MySQL parameters) your hosting provider may not have any way of letting you make the changes. It is a shared host after all.

Because sites are shared, if a hacker compromises one shared account, depending on how well the hosting provider has setup the server, it can make it easier for a hacker to look across into other accounts. Like yours.

If your site is in any way successful at pulling traffic (for example, you write a blog post that hits the front page of Digg), you could well find your hosting provider just drops you. It happens more often than you might think. Look at it from the hosting provider’s perspective. You can cram lots of low traffic sites onto a server … then one of them pops its head above the wall by using a lot of system resources (which stops them cramming more customers onto that host). $10 says they apply the good old shoot first ask questions later policy.

Virtual Private Server

A virtual private server gives you the equivalent of your own Linux server. VPS software such as Virtuozzo or Xen segments the server.

Because you have root access to your own server, you have full control over your configuration. You probably won’t get 1 click installers, so you need more technical skills to set one up and maintain it. You get a lot more control over security, but you also have to do the work to keep it secure.

Typically your VPS won’t be shared by as many customers (although that changes according to host), so you are less likely to be pinged for using too much in the way of resources. But it is still fundamentally a shared plan, so you do need to watch out.

Dedicated Server

This is your own Linux server. Like a VPS, unless you have arrangements in place you will need to do a lot more setup and management yourself, so technical skills are important.

This is a relatively expensive option, but you get a lot of control.

If scaling up from a single dedicated server to multiple servers is something you are worried about, then first of all ask yourself, is it really a problem? It is common to worry about scaling issues that never present themselves in real life.

One strategy for making it easier to administer a dedicated server is to implement your own VPS on the dedicated server. Backing up and moving a VPS image from one physical server to another can mean you are able to move servers a lot more easily. So you can start with a smaller capacity server and upgrade to a newer (higher capacity one) later with out too much trouble.

EC2

The most interesting of the 4 options for Linux hosting is Amazon’s Elastic Compute Cloud (EC2). We haven’t done this ourselves, so instead I’ll point you to Mike Brittain’s article.

Getting your LAMP servers via EC2 seems like a great idea. We use Amazon’s Simple Storage Service (S3) for our high capacity web resources, as well as backup. It is impressive, and very cost effective. I have no reason to doubt that EC2 will work equally as well. Right now we are pretty Ok for computing resource, but this will be top of our list for a look when we need more.


If You Can’t Host It Don’t Post It

Digg’s flurry over Jane’s map has died away – mostly.

If you make hosting decisions for your business, then you may be interested in the traffic that hit.

Digg reports the story went ‘popular’ 4 days ago now. But checks revealed that for a bit over 2 days of Digg frenzy, Jane’s Global Warming Mindmap had:

  • 34,457 Views of the Mind Map; from
  • 31,595 Unique IP addresses

That is a rough average of 16,000 Unique Visitors /day.

Jane got 1,158 Diggs and 362 comments. Higher than many, but not the highest by a long shot.

(Her mind map is now #3 globally for images about global warming.)

Now, you can’t take Digg commenters too seriously. Jane is very good humoured about things – a lot more so than I think I would.

One helpful ‘Snigger’ (that is a Snide Digger) suggested “if you can’t host it don’t post it”, which since this is the second time I’ve mentioned it you can clearly see annoyed me. (Our server didn’t crash, but it was so slow for about 2 hours it appeared to be off the air).

Looking at those stats is an eye opener. We have a lot more capacity in place than a small business would have with a shared hosting account. In this case Jane’s site was on a VPS with about 1Gb of RAM and a fast CPU (which both coped with Digg, it was the image serving throughput that slowed).

So if we take it seriously that if you are going to put out interesting content you have to be able to deal with the whimsical needs of Digg users, what are the options for a small business hosted website:

  • shared hosting, say $5-$40/mth – dead on arrival if a Digg event hits
  • virtual private server $25-80/mth – more power but a lot harder to manage, very tricky for a small business – also not all VPS can deal with Digg – in our case Digg had linked to an image that was over 100kb
  • dedicated server $200-400/mth – good chance of managing a Digg event, but very pricey

Who wants to pay $200-400/mth for a dedicated server, or manage the complexities of a VPS?
If you have a typical low cost shared hosting provider for your website, you are probably doomed if a Digg event hits.

One day S3 equivalent capabilities for high speed image and media serving will be the norm. They aren’t yet, but they will be. We are going to build it in to all our site hosting, and we won’t be the first or last.

And I’ll stick with zero cost hosting for clients – the more I explore this the better I like the model. Jane’s mind map makes clear is that to do content marketing (and teach people how to do it better) you have to have high capacity hosting in place that takes Digg in its stride.

As for Global Warming, I’m pleased to report that after reading the comments on Jane’s mind map, global warming just doesn’t exist. It is a plot, concocted by Hippys it seems. Probably to steal all our chocolate or something. Digg traffic is high on color and movement but not the sharpest when it comes to science it would seem.