<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CatN</title>
	<atom:link href="http://catn.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://catn.com</link>
	<description>CatN vCluster is an instantly scalable, php platform as a service.</description>
	<lastBuildDate>Fri, 03 Sep 2010 16:19:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Vhosting: an alternative to WordPress multi-site</title>
		<link>http://catn.com/2010/09/01/vhosting-an-alternative-to-wordpress-multi-site/</link>
		<comments>http://catn.com/2010/09/01/vhosting-an-alternative-to-wordpress-multi-site/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 15:07:57 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[vhosting]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=6431</guid>
		<description><![CDATA[With the release of WordPress 3.0, multi-site functionality allows a network of sites to be managed by a single WordPress dashboard. Unfortunately some of our clients are having difficulties setting up a multi-site network, and WordPress.org codex is not always beginner friendly. Vhosting offers an alternative by allowing multiple sites to be hosted on your [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first">With the release of WordPress 3.0, multi-site functionality allows a network of sites to be managed by a single WordPress dashboard. Unfortunately some of our clients are having difficulties setting up a multi-site network, and <a href="http://wordpress.org">WordPress.org</a> codex is not always beginner friendly.</p>
<p style="text-align: justify">Vhosting offers an alternative by allowing multiple sites to be hosted on your single vCluster IP address. You can then use independent WordPress installs on each of these sites, decentralising a network and allowing you to manage each site manually.</p>
<p style="text-align: justify">We already have a guide for &#8220;<a href="http://catn.com/2010/06/09/vhosting/">vhosting</a>&#8221; and &#8220;<a href="http://catn.com/2010/03/02/multiple-domains-on-your-vcluster/">multiple domains on your vCluster</a>&#8220;, but you can follow the instructions here as well to setup multiple WordPress installs on vhosts.<span id="more-6431"></span></p>
<hr />
<h2>Creating vhosts</h2>
<p style="text-align: justify">To create a vhost you need to connect to your vCluster using SSH or FTP. In this article I will be using a visual FTP client, <a href="http://filezilla-project.org/">FileZilla</a>, to visualise the process. If you do not know how to connect to your vCluster using an FTP client or by SSH, have a look at &#8220;<a href="http://catn.com/2010/03/22/setting-up-filezilla-as-your-ftp-client/">setting up an FTP client</a>&#8220;, or &#8220;<a href="http://catn.com/2010/03/08/adding-your-ssh-key-to-your-vcluster/">connecting with SSH</a>&#8220;.</p>
<p style="text-align: justify">Once you have connected to your vCluster navigate to:</p>
<div style="margin-left: 30%">
<pre>/sites/<span style="color: red">fubra-customer</span>/vhosts</pre>
</div>
<hr />
<p style="text-align: justify">Replace the <span style="font-family: courier;color: red">fubra-customer</span> with your own Passport Group, and vCluster name. Alternatively double click on the directories in FileZilla to find the vhosts folder visually.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6449" src="http://catn.com/files/2010/09/vhosts1.png" alt="vhost directory in FileZilla" width="434" height="307" /></p>
<p style="text-align: justify">Inside the vhosts folder you you can now create directories for each of the sites you wish to host on your vCluster. There is a very strict naming convention that you must follow in order for vhosting to work successfully.</p>
<p style="text-align: justify">The directory you create must have the exact same name as the domain name you wish to point here. For example, I have purchased the domain name <strong>joegardiner.co.uk</strong>, so in the vhosts folder I will create a directory named <strong>joegardiner.co.uk</strong>. Note, you will never need to add <em>www</em> to the front of the directory name.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6450" src="http://catn.com/files/2010/09/vhosts2.png" alt="creating a new directory using FileZilla" width="444" height="137" /></p>
<p style="text-align: justify">Now open your newly created vhost directory (joegardiner.co.uk), and inside this directory create a new directory named <strong>http</strong>. This directory will be the root directory for this vhost, similar to the http directory two levels higher in your main vCluster directory tree.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6472" src="http://catn.com/files/2010/09/vhosts3.png" alt="adding http directory to a vhost" width="523" height="178" /></p>
<p style="text-align: justify">Inside the newly created <em>http</em> directory you can install any php application you want, including WordPress. You can create as many vhosts as you want in this manner, but if you&#8217;re installing multiple WordPress&#8217;, it is very important you follow the next few steps.</p>
<hr />
<h2>Database table prefix</h2>
<p style="text-align: justify">You vCluster is created with a single database, this means that multiple WordPress installs using this database may clash by trying to access the same tables, leading to instability. The solution is to change the table prefix each WordPress uses when you install it. Changing the prefix will allow you to easily see which set of tables applies to each vhost.</p>
<p style="text-align: justify">During the WordPress installation it is necessary to edit the &#8220;wp-config.php&#8221; file to add database information. If you unsure how to install WordPress have a look at this guide, &#8220;<a href="http://catn.com/2010/02/24/installing-wordpress-on-your-vcluster/">Install WordPress on your vCluster</a>&#8220;.</p>
<p style="text-align: justify">While editing the wp-config file you can also add a table prefix. Open up your wp-config file in a text editor and scroll down, near the bottom of the file. Find this block of code:</p>
<div style="margin-left: 10%">
<pre>/**
 * WordPress Database Table prefix.
 *
 * You can have multiple installations in one database if you give each a unique
 * prefix. Only numbers, letters, and underscores please!
 */
<span style="color: red">$table_prefix  = 'wp_';</span></pre>
</div>
<hr />
<p style="text-align: justify">The <span style="font-family: courier;color: red">&#8216;wp_&#8217;;</span> line is what you need to change to alter the table prefix. The table prefix must be made up of letters and numbers and underscores, and you can add anything you like between the single quotes, but I would recommend using a prefix that applies to your domain.</p>
<p style="text-align: justify">In my case my vhost is named <strong>joegardiner.co.uk</strong>, so I shall edit my prefix to read <span style="font-family: courier">&#8216;joegard_&#8217;;</span>. After editing this line the previous block of code should now look like&#8230;</p>
<div style="margin-left: 10%">
<pre>/**
 * WordPress Database Table prefix.
 *
 * You can have multiple installations in one database if you give each a unique
 * prefix. Only numbers, letters, and underscores please!
 */
<span style="color: red">$table_prefix  = 'joegard_';</span></pre>
</div>
<hr />
<p style="text-align: justify">Once you have made the changes to the wp-config.php file you can save and exit your text editor and continue installing WordPress in the usual manner.</p>
<hr />
<h2>Pointing your domain</h2>
<p style="text-align: justify">Now that WordPress is installed you need to point your domain name at your vCluster. Due to our clever Apache configuration, all you need to do is point each domain name for all of your vhosts at the single vCluster IP and the correct vhost will always be loaded, provided the directory naming rule was followed, and vhost directories exactly match domain names.</p>
<p style="text-align: justify">Every domain name registrant will use a different control panel for managing a domain name&#8217;s DNS settings, I registered my domain with <a href="http://www.livetodot.com/">LivetoDot</a>, so the following screenshot will be of their control panel.</p>
<p style="text-align: justify">First of all you need to head to the CatN Control Panel for your vCluster and take a look at the main settings page. Take a note of vCluster IP address as you will need this in a minute. Next head to your domain registrants site and login to the control panel. You will be editing the (A) Address record of your domain name which will be under DNS settings.</p>
<p style="text-align: justify">You want to overwrite or add records for <em>&#8220;www&#8221;</em> and an empty field. Have a look at the screenshot below for help.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6490" src="http://catn.com/files/2010/09/vhosts4.png" alt="Changing DNS settings for vCluster IP address" width="490" height="459" /></p>
<p style="text-align: justify">Once you save these two records, it may take up to 24 hours to update a .co.uk domain name so be patient! Once the (A) record is updated, navigating to your domain name in your web browser, in my case www.joegardiner.co.uk, will load the files from the joegardiner.co.uk vhost directory we created earlier.</p>
<hr />
<hr />
<p style="text-align: justify">You can follow the previous procedure as many times as you want for as many independent WordPress installs as you require. The benefit is that you can manage installs separately without the confusion caused by a centralised user, theme and plugin management system. On the down side you may have to repeat configuration across each WordPress manually instead of being able to activate plugins across the network.</p>
<p style="text-align: justify">Fortunately your vCluster happily supports both methods, so whichever process you prefer for setting up your WordPress network, it will be fully compatible with our php optimised hosting platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/09/01/vhosting-an-alternative-to-wordpress-multi-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CatN unscheduled downtime</title>
		<link>http://catn.com/2010/09/01/catn-unscheduled-downtime/</link>
		<comments>http://catn.com/2010/09/01/catn-unscheduled-downtime/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 11:53:48 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=6455</guid>
		<description><![CDATA[CatN experienced unscheduled downtime for the majority of yesterday due to a major hardware failure. Yesterday we suffered a major RAID card failure on a database server, unfortunately we didn&#8217;t have the spares in place, resulting in a fix taking much more time than it should have and prolonged downtime. The server has been rebuilding [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first">CatN experienced unscheduled downtime for the majority of yesterday due to a major hardware failure.</p>
<p style="text-align: justify">Yesterday we suffered a major RAID card failure on a database server, unfortunately we didn&#8217;t have the spares in place, resulting in a fix taking much more time than it should have and prolonged downtime. The server has been rebuilding the majority of the evening and is concluding now. The time it takes to repair an array of the size we host is measured in 24hour periods, not single hours, so waiting for this rebuild is not a viable restoration method.</p>
<p style="text-align: justify">If we experience RAID failures we need to have a plan for immediate recovery, but unfortunately our current graceful failure plan was not successful due to the catastrophic failure of the RAID controller, which left the entire RAID in an inconsistent state.</p>
<p><span id="more-6455"></span></p>
<hr />
<h3>The recovery procedure</h3>
<p style="text-align: justify">After the failure we looked at backups and restoring to a spare server as a possible solution. There were a couple of delays to a backup restoration. Currently all of our backups are remote, not a major delay but it did slow things down a little, another problem was not having a predetermined method of rapidly recovering backups.</p>
<p style="text-align: justify">Currently we have restored to our most recent backup in order to resume normal service, but unfortunately this backup was from Saturday morning (28th) between 06:30 a.m. and 07:12 a.m, 48 hours behind, clearly our planned nightly backup had failed.</p>
<p style="text-align: justify">As we alternate between running full and incremental backups, occasionally our system schedules a large number of full backups, resulting in a backlog of backups. The hardware failure we suffered coincided with a scheduled backup meaning we were half way through the process when the hardware failed, unfortunately the failed database server backup had not run at the point of failure.</p>
<hr />
<h3>Future Redundancy</h3>
<p style="text-align: justify">In order to prevent a failure of similar magnitude in the future we are currently reviewing our recovery procedure and will be investing in five levels of redundancy for the future:</p>
<ul>
<li>RAID on all servers</li>
<li>Master/Slave replication, allowing us to switch the Slave to Master in the case of a failure.</li>
<li>Having an on site cold spare database server will provide a full set of spares in the case of a Master and/or Slave failure.</li>
<li>On site daily backups (using a dedicated server in our Data Centre for rapid restores if Master/Slave replication fails).</li>
<li>Off site daily backups using Amazon EC2/S2</li>
</ul>
<p style="text-align: justify">Once the new hardware and backup solutions are in place we will have fast replications for the vast majority of potential issues. If both of our servers fail, we will have a spare server on site. If we do have to resort to archived backup, we will have more current and on site backups available instead of just off site as we currently do.</p>
<p style="text-align: justify">Finally, InnoDB backups did not work successfully, and we are currently reviewing this and will update here shortly.</p>
<hr />
<p style="text-align: justify">Let me offer my sincere apologies to all our vCluster customers, and assure you that we take any major failures extremely seriously, and that we are working rapidly to prevent any failures of this magnitude occurring again. If you continue to experience problems please email <a href="mailto:support@catn.com">support@catn.com</a>, and remember to follow us on <a href="http://twitter.com/catnhosting">Twitter</a> for further updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/09/01/catn-unscheduled-downtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating the Department for Transport website to WordPress</title>
		<link>http://catn.com/2010/08/23/migrating-department-for-transport-to-wordpress-case-study/</link>
		<comments>http://catn.com/2010/08/23/migrating-department-for-transport-to-wordpress-case-study/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 16:04:45 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Case Studies]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Case Study]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5527</guid>
		<description><![CDATA[From the conclusions made in the article UK government&#8217;s spending on hosting and development, I decided to migrate the Government site DFT (Department for Transport) to a php application, specifically WordPress, as this is a CMS we have much experience developing and hosting. Summary The key points from the rest of this report follow: Migration &#8211; We migrated [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first">From the conclusions made in the article <a href="http://catn.com/2010/06/30/does-the-uk-government-get-value-for-money/">UK government&#8217;s spending on hosting and development,</a> I decided to migrate the Government site <a href="http://www.dft.gov.uk/">DFT</a> (Department for Transport) to a php application, specifically WordPress, as this is a CMS we have much experience developing and hosting.</p>
<hr />
<h2>Summary</h2>
<p style="text-align: justify">The key points from the rest of this report follow:</p>
<p style="text-align: justify"><strong>Migration</strong> &#8211; We migrated <a href="http://dft.gov.uk">dft.gov.uk</a> from it&#8217;s current management system to <a href="http://wordpress.org">WordPress</a> to illustrate the ease of the process and that the site can be moved to an open source, free management system for very little cost. We had no access to any site files but used a small script to crawl the sites content and images.</p>
<p style="text-align: justify"><strong>Hosting</strong> &#8211; The copied site is now hosted on our php platform <a href="http://catn.com">vCluster</a> and was developed on the same platform it is now hosted on.</p>
<p style="text-align: justify"><strong>Expenditure</strong> &#8211; The migration and hosting process resulted in costs to us of £5000. This small investment could save up to <strong>£64,800</strong> per month, <strong>£777,600</strong> per annum, and this is for a single Government site.</p>
<p style="text-align: center">You can view the result of the migration and our sample site running on WordPress here: <a href="http://dftsample.fubradev.vc.catn.com/">DFT sample site</a>.</p>
<p><span id="more-5527"></span></p>
<hr />
<hr />
<p style="text-align: justify">My aim is to illustrate the ease of the process and to show the reduction in expenditure that can be achieved by using an open source hosting platform and a low cost language to write and maintain, like php. I chose DFT as it had one of the worst value for money &#8220;cost per request&#8221; rates in my Government <a href="http://catn.com/2010/06/30/does-the-uk-government-get-value-for-money/">value for money report</a>.</p>
<table>
<tbody>
<tr>
<th><strong>Government Site</strong></th>
<th><strong>Annual hosting and infrastructure spend</strong></th>
<th><strong>Annual page requests</strong></th>
<th><strong>Cost per request (£&#8217;s)</strong></th>
</tr>
<tr class="odd">
<td><a href="http://dft.gov.uk">dft.gov.uk</a></td>
<td style="text-align: right">£810,000</td>
<td style="text-align: right">17497004</td>
<td style="text-align: right">0.046</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;margin: 40px 0">To put the cost per request for DFT into context, the next highest cost per request is <a href="http://communities.gov.uk">communities.gov.uk</a>:</p>
<table>
<tbody>
<tr>
<th><strong>Government Site</strong></th>
<th><strong>Annual hosting and infrastructure spend</strong></th>
<th><strong>Annual page requests</strong></th>
<th><strong>Cost per request (£&#8217;s)</strong></th>
</tr>
<tr class="odd">
<td><a href="http://communities.gov.uk">communities.gov.uk</a></td>
<td style="text-align: right">£372,000</td>
<td style="text-align: right">29767248</td>
<td style="text-align: right">0.012</td>
</tr>
</tbody>
</table>
<p style="text-align: justify">As you can see, DFT is almost four times as expensive per request than communities.</p>
<p style="text-align: justify">The site dft.gov.uk can be considered a &#8220;static&#8221; web site. This means that content is not dynamically generated, and that there are no complex application on the dft.gov.uk. the DFT site is purely informational and contains static content for this purpose.</p>
<hr />
<h2>Migration process</h2>
<p style="color: #8a8a8a;text-align: left;margin-left: 18px">By Iain Cambridge</p>
<div style="margin: 28px 0 30px 30px;color: #828282;border-bottom: 1px solid black;padding-bottom: 40px">
<h3>Data Collection</h3>
<p><img class="alignnone size-large wp-image-5625" src="http://catn.com/files/2010/08/dftcode-1024x169.png" alt="screenshot of WordPress code" width="645" height="106" /></p>
<p style="text-align: justify">As I didn’t have access to a copy of the raw database to gather the data, I crawled the site using a simple PHP spider. With use of Curl and regular expressions the data was  collected from the DFT server and prepared for insertion into a new wordpress install.</p>
<p><!--more--></p>
<hr />
<h3>Data sorting</h3>
<p style="text-align: justify">I sorted and kept the category structure of the original site with the ease using <a href="http://codex.wordpress.org/Function_Reference/wp_insert_category">wp_insert_category() </a>function  which allowed me to create a category while defining the category’s  description, name and parent category ID.</p>
<p><img class="size-full wp-image-5634 alignright" src="http://catn.com/files/2010/08/cetgories1.png" alt="Screenshot WordPress dashboard categories" width="300" height="122" /></p>
<p style="text-align: justify">During this process I encountered  a bug in the function which prevented <a href="http://codex.wordpress.org/Function_Reference/get_categories">wp_get_categories()</a> from creating children categories from the newest parent category  inserted. To counteract this problem at the end of the importing I created a redundant category in the wp-admin category management system  and deleted it once all categories were created. The insertions of posts was made extremely easy with  the use of <a href="http://codex.wordpress.org/Function_Reference/wp_insert_post">wp_insert_post()</a>.</p>
<hr />
<h3>Theme</h3>
<p style="text-align: justify">I started with recreating the top navigation menu which I achieved by  selecting only the parent categories. The navigation colour change for the  currently selected category was achieved by using grandchild categories with the use of <a href="http://codex.wordpress.org/Function_Reference/in_category#Testing_if_a_post_is_in_a_descendant_category">post_is_in_descendant_category()</a> which I found on the wordpress codex.</p>
<p style="text-align: justify">To recreate the footer I created  four dynamic widget areas, created link categories, and inserted them into the footer. I used three link widgets as well as text widgets into which I inserted html. On the front page I created a sidebar widget for navigation and used two text  widgets with two link widgets to recreate the look of the DfT site. The Link Categories was used to recreate the “Current  Issues”,”DfT Spotlights” and “Useful Links” navigation.</p>
<p style="text-align: justify">To recreate the &#8220;what’s new&#8221;  section I created a page with the nice name of “whatsnew” then created  a theme file called page-whatsnew.php and copied the basic wordpress  home.php functionality into it.</p>
<hr />
<h3>Plugins</h3>
<p><img class="alignnone size-full wp-image-5621" src="http://catn.com/files/2010/08/pluginsimg.png" alt="Screenshot of wordpress.org plugins" width="556" height="106" /></p>
<p style="text-align: justify">There were certain theming and page functions which required plugins, some of these I was able to download from <a href="http://wordpress.org/">wordpress.org</a>.  However I did have to write plugins for certain features, this was  made extremely easy with WordPress’s plugin API.</p>
<p style="text-align: justify">One of these plugins  was created to extend the category data that could be held. The DfT site  had “excerpt” like data for the categories as well as a description of  the category. I found that most categories  also had a related links in  the side bar along with a widget showing the most visited posts in that  category and children categories. As well categories excerpts the  category extension included a widget to attach a link to a category to a  categories data as related links.</p>
<p style="text-align: justify">A second plugin created an A to Z  section to replicate the section in the original DfT site. I edited a plugin called <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a> to give the option of displaying the users current page in the breadcrumb navigation.</p>
<p style="text-align: justify">The unedited  plugins I used straight of the shelf was  <a href="http://www.web-strategy.jp/wp_plugin/ps_auto_sitemap/">PS Auto Sitemap</a> to create the site map and <a href="http://www.ericmmartin.com/projects/wp-paginate/">WP-Paginate</a> to give a better pagination display for the what’s new section. Finally I installed and configured <a href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">SuperCache</a> to improve site performance.</p>
</div>
<hr />
<p style="text-align: justify">The sample site is now being hosted on a Fubra development vCluster, on the CatN platform. We migrated 4 levels deep giving a good overview of the sites categories without scraping the entire sites data which would be very time consuming for a sample case study. After extensive testing of the site, we have achieved full functionality in WordPress (4 levels deep), and have achieved excellent site performance with no extra configuration of the CatN platform required.</p>
<p style="text-align: center;font-size: 16px;margin: 30px auto">You can view the result of the migration and our sample site running on WordPress here: <a href="http://dftsample.fubradev.vc.catn.com/">DFT sample site</a>.</p>
<hr />
<h2>How much?</h2>
<p style="text-align: justify">It is difficult to give a precise figure for the required expenditure for hosting <a href="http://dft.gov.uk">dft.gov.uk</a> on a CatN vCluster, as we have no access to site analytics. However, I have compared the percentage of global page views with other sites hosted by CatN on the <a href="http://www.alexa.com/">Alexa Web Information</a> site, to give a suggestion of the price range DFT may fit into, and I have page impressions and total site visitors data from the <a href="http://coi.gov.uk/aboutcoi.php?page=357">COI Report on Progress 2009/10</a>.</p>
<p style="text-align: justify">
<hr />
<p style="text-align: justify;font-size: 13px"><strong>Note:</strong><em> There are some questions over the accuracy of Alexa traffic data, particularly with sites heavily dependent on social media that will receive spikes for certain articles effecting similar site rankings. I am not fully dependent on Alexa statistics, but am just using them as a guide to fit dft.gov.uk into a realistic price range as an indicator of the cost of hosting on the CatN platform.</em></p>
<p style="text-align: justify;font-size: 13px"><em>The sites I am comparing are not heavily dependant on social media, and are not tiny sites whose scale is difficult for Alexa to manage. All of these sites receive consistent traffic at the levels expressed in the following graphs, and do not use the Alexa toolbar to manipulate Alexa rankings.</em></p>
<p>Have a look at my blog post <a href="http://catn.com/2010/08/16/how-accurate-is-alexa/">Alexa Accuracy</a>, or an Alexa blog about site rankings: <a href="http://blog.alexa.com/2010/02/whats-going-on-with-my-alexa-rank.html">What&#8217;s going on with my Alexa rank?</a></p>
<h3 style="margin-top: 40px">Alexa and Analytics</h3>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6177" src="http://catn.com/files/2010/08/alexa2.png" alt="Comparing websites with Alexa" width="438" height="257" /></p>
<p style="text-align: justify">Adding <span style="color: #800807">Site 2</span> as a comparison to dft.gov.uk reveals that it is gaining a higher pageviews rank in Alexa, in fact at some points on the graph, four times as many. As I have access to analytic data for <span style="color: #800807">Site 2</span> a more accurate comparison can be made</p>
<table>
<tbody>
<tr>
<th>Website</th>
<th>Page impressions (June 2010)</th>
<th>Site visits (June 2010)</th>
</tr>
<tr class="odd">
<td><a href="http://dft.gov.uk"><span style="color: #3408fb">dft.gov.uk</span></a></td>
<td style="text-align: right">1,458,084</td>
<td style="text-align: right">426,748</td>
</tr>
<tr>
<td style="color: #800807">Site 2</td>
<td style="text-align: right">8,755,142</td>
<td style="text-align: right">1,755,767</td>
</tr>
</tbody>
</table>
<p style="text-align: justify">The analytic data agrees with Alexa&#8217;s ranking, showing <span style="color: #800807">Site 2</span> to be approximately four times the size of <a href="http://dft.gov.uk">dft.gov.uk</a> in terms of traffic and global reach. Although it would be possible to scale down <span style="color: #800807">Site 2</span>&#8216;s hosting expenditure for an indication of the required spend for DFT on our platform, comparison with similarly sized sites will increase the accuracy of the estimate.</p>
<hr />
<p style="text-align: center"><img class="aligncenter size-full wp-image-6197" src="http://catn.com/files/2010/08/alexa4.png" alt="Alexa comparison of large websites" width="438" height="258" /></p>
<p style="text-align: justify"><span style="color: #a5a842">Site 3</span> and <span style="color: #58aeae">Site 4</span> are given a similar rank by Alexa to DFT, so are worth considering in more detail. The similarities in rank may be reflected in traffic patterns, allowing a clearer indication of the required expenditure for hosting DFT on a vCluster.</p>
<table>
<tbody>
<tr>
<th>Website</th>
<th>Page impressions (June 2010)</th>
<th>Site visits (June 2010)</th>
</tr>
<tr class="odd">
<td><a href="http://dft.gov.uk"><span style="color: #3408fb">dft.gov.uk</span></a></td>
<td style="text-align: right">1,458,084</td>
<td style="text-align: right">426,748</td>
</tr>
<tr>
<td style="color: #a5a842">Site 3</td>
<td style="text-align: right">2,106,436</td>
<td style="text-align: right">361,207</td>
</tr>
<tr class="odd">
<td style="color: #58aeae">Site 4</td>
<td style="text-align: right">1,153,383</td>
<td style="text-align: right">268,780</td>
</tr>
</tbody>
</table>
<p style="text-align: justify">The analytic data shows that dft.gov.uk can be considered a similar size in terms of traffic to <span style="color: #a5a842">Site 3</span> and larger than <span style="color: #58aeae">Site 4</span>, so a fair estimate should be similar to <span style="color: #a5a842">Site 3</span> and approximately a quarter the size of <span style="color: #800807">Site 2</span>, a pessimistic estimation would be around half the size of <span style="color: #800807">Site 2</span>.</p>
<hr />
<h3 style="margin-top: 20px">COI pricing comparison</h3>
<p style="text-align: justify">From the <a href="http://coi.gov.uk/aboutcoi.php?page=357">COI Reporting on Progress 2009/10</a> I have the following site data for dft.gov.uk:</p>
<table>
<tbody>
<tr>
<th><strong>Website</strong></th>
<th><strong>Page impressions (June 2010)</strong></th>
<th><strong>Site visits (June 2010)</strong></th>
<th><strong>Hosting expenditure June 2010 (£&#8217;s)</strong></th>
</tr>
<tr class="odd">
<td><a href="http://dft.gov.uk"><span style="color: #3408fb">dft.gov.uk</span></a></td>
<td style="text-align: right">1,458,084</td>
<td style="text-align: right">426,748</td>
<td style="text-align: right">67,500</td>
</tr>
</tbody>
</table>
<p style="text-align: justify">From the traffic data of Site 2, 3 and 4 in my previous comparison, I can compare hosting expenditure across the sample with the spend disclosed by the COI report for an indication of the expenditure required for hosting DFT on a vCluster.</p>
<table>
<tbody>
<tr>
<th><strong>Website</strong></th>
<th><strong>Page impressions (June 2010)</strong></th>
<th><strong>Site visits (June 2010)</strong></th>
<th><strong>Hosting expenditure June 2010 (£&#8217;s)</strong></th>
</tr>
<tr class="odd">
<td><a href="http://dft.gov.uk"><span style="color: #3408fb">dft.gov.uk</span></a></td>
<td style="text-align: right">1,458,084</td>
<td style="text-align: right">426,748</td>
<td style="text-align: right"><strong>67,500</strong></td>
</tr>
<tr>
<td style="color: #800807">Site 2</td>
<td style="text-align: right">8,755,142</td>
<td style="text-align: right">1,755,767</td>
<td style="text-align: right"><strong>2,295</strong></td>
</tr>
<tr class="odd">
<td style="color: #a5a842">Site 3</td>
<td style="text-align: right">2,106,436</td>
<td style="text-align: right">361,207</td>
<td style="text-align: right"><strong>307</strong></td>
</tr>
<tr>
<td style="color: #58aeae">Site 4</td>
<td style="text-align: right">1,153,383</td>
<td style="text-align: right">268,780</td>
<td style="text-align: right"><strong>240</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify">In comparison to sites of a similar size in terms of traffic, particularly <span style="color: #a5a842">Site 3</span> and <span style="color: #58aeae">Site 4</span>, DFT seems to have an enormously inflated monthly hosting expenditure. I have visualised this below with a following graph displaying page visits.</p>
<p style="font-size: 10px;color: #8a8a8a;text-align: center;margin: 40px 0 -10px 0">Hosting expenditure (June 2010) for sample sites</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6246" src="http://catn.com/files/2010/08/dftgraph1.png" alt="comparison of dft.gov.uk to sample sites for hosting expenditure" width="462" height="417" /></p>
<p style="font-size: 10px;color: #8a8a8a;text-align: center;margin: 40px 0 -10px 0">Site visits (June 2010) for sample sites</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6252" src="http://catn.com/files/2010/08/dftgraph2.png" alt="comparing dft.gov.uk to sample sites for monthly visits" width="462" height="417" /></p>
<p style="text-align: justify">There is no clear correlation between site visitors and hosting expenditure when comparing any of the sample sites to dft.gov.uk. <span style="color: #800807">Site 2</span> with 3.5 times more visitors has a hosting expenditure almost 30 times smaller per month. This is an annual difference of £782,460, provided DFT is ported to a php CMS such as <a href="http://wordpress.org">WordPress</a>. Presuming that dft.gov.uk did achieve the same traffic levels as <span style="color: #800807">Site 2</span> and was spending approximately £3,000 per month using a vCluster, DFT could expect to make savings of up to <strong>96.6%</strong>.</p>
<hr />
<h2 style="margin-top: 20px">Estimate</h2>
<p style="text-align: justify">It is difficult to give a precise estimate, there are clear indication from my analysis of the price bracket DFT should fit into if hosted on a CatN vCluster:</p>
<ul>
<li>Using the sample comparison sites as a pricing guide</li>
<li>Taking into account the requirements of the dft.gov.uk website&#8217;s static content</li>
<li>Inputting traffic data from the <a href="http://coi.gov.uk/aboutcoi.php?page=357">COI report</a> to the vCluster <a href="http://catn.com/vcluster/pricing/platformhours/">Platform Hour Calculator</a></li>
</ul>
<p style="text-align: justify"><strong>Please note</strong> that the estimate is precisely that, and does not include any development costs required for migrating dft.gov.uk to an open source php CMS.</p>
<hr />
<p style="text-align: center;font-size: 12px;margin-bottom: -4px">Comparison guide</p>
<table>
<tbody>
<tr>
<th><strong>dft.gov.uk</strong></th>
<th>From</th>
<th>To</th>
</tr>
<tr class="odd">
<td>Price range from comparison sites:</td>
<td style="text-align: right">£240</td>
<td style="text-align: right">£2,295</td>
</tr>
</tbody>
</table>
<hr />
<p style="text-align: center;font-size: 12px;margin-bottom: -4px"><a href="http://catn.com/vcluster/pricing/platformhours/">Platform Hour estimate</a></p>
<table>
<tbody>
<tr>
<th>Platform Hour setting</th>
<th>Estimated monthly hits</th>
<th>Platform Hours used</th>
<th>Platform Hour charge</th>
</tr>
<tr class="odd">
<td>Static</td>
<td style="text-align: right">245,807,280</td>
<td style="text-align: right">3,392</td>
<td style="text-align: right"><strong>£1,696</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify">Taking the Platform Hour charge of £1,696 and adding the package charge for <a href="http://catn.com/vcluster/pricing/">vCluster Ultimate</a> of £100, all that remains is Data Transfer charges if usage exceeds allowance.</p>
<p style="text-align: justify">The average page size from 10 sample pages of dft.gov.uk is 287kb. Multiplying average page size with monthly page views allows a data transfer estimate to be made.</p>
<table style="margin: 30px auto">
<tbody>
<tr>
<th>Monthly page views</th>
<th>Average page size</th>
<th>Monthly Data Transfer estimate</th>
<th>Data Transfer charges</th>
</tr>
<tr class="odd">
<td>1,458,083</td>
<td>287kb</td>
<td><strong>418GB</strong></td>
<td>None</td>
</tr>
</tbody>
</table>
<p style="text-align: justify">As the vCluster Ultimate package allows 500GB of data transfer before usage charges are incurred, from the above estimate dft.gov.uk would incur no data transfer charges as 418GB are being used. Therefore the only usage charges from this estimate are for Platform Hours. The total charge based on these figures would be <strong>£1,796</strong> (Platform Hours + vCluster Ultimate subscription).</p>
<table style="margin: 30px auto">
<tbody>
<tr>
<th>Subscription charge</th>
<th>Platform Hour overage</th>
<th>Data transfer overage</th>
<th>Total</th>
</tr>
<tr class="odd">
<td>£100</td>
<td>£1,696</td>
<td>None</td>
<td><strong>£1,796</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify">The estimate of £1,796 fits within the comparison sites range of £240 to £2,295, and is similar to the average of the range. As the top end of the range, <span style="color: #800807">Site 2</span>, has traffic levels 6 times higher than dft.gov.uk and is charged £2,295, I would feel confident that DFT would be very unlikely to be charged more than £4,000 per month for being hosted on a platform such as the CatN vCluster. In fact £4,000 is a pessimistic estimate based on the analysis in this report.</p>
<p style="text-align: justify">Even if dft.gov.uk did achieve monthly bills near £4,000, it would still be receiving a saving of 94% per month from the current £67,500 expenditure, and this is based on the worst case scenario for DFT hosting expenditure.</p>
<hr />
<hr />
<p style="text-align: justify">Can the government afford to ignore the potential savings of moving to an open source, cloud hosting platform? In a period of savings and public service cuts, surely web hosting expenditure should be reviewed when such large savings seem possible.</p>
<p style="text-align: center;font-size: 14px;margin: 30px auto">You can view the result of the migration and our sample site running on WordPress here: <a href="http://dftsample.fubradev.vc.catn.com/">DFT sample site</a>. Don&#8217;t believe it&#8217;s WordPress? Add &#8220;<em>wp-admin</em>&#8221; to the site url for the WordPress login screen.</p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/08/23/migrating-department-for-transport-to-wordpress-case-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How accurate is Alexa?</title>
		<link>http://catn.com/2010/08/16/how-accurate-is-alexa/</link>
		<comments>http://catn.com/2010/08/16/how-accurate-is-alexa/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 16:03:43 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Case Studies]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Alexa]]></category>
		<category><![CDATA[Case Study]]></category>
		<category><![CDATA[Long Tail]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5808</guid>
		<description><![CDATA[Alexa Internet is a web company owned by Amazon that provides a toolbar that offers advice to it&#8217;s user on navigation, and tracks a users behaviour transmitting it to Alexa for analysis of browsing patterns. Alexa is widely used, especially when attempting to value a website for a potential sale. Some Webmasters focus on improving [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first"><a href="http://www.alexa.com/">Alexa Internet</a> is a web company owned by <a href="http://amazon.co.uk">Amazon</a> that provides a toolbar that offers advice to it&#8217;s user on navigation, and tracks a users behaviour transmitting it to Alexa for analysis of browsing patterns.</p>
<p style="text-align: justify">Alexa is widely used, especially when attempting to value a website for a potential sale. Some Webmasters focus on improving their Alexa ranking over improving their content in the pursuit of valuing their site higher. This seems like a waste of effort to me, but this practice does take place, but then you already knew that! With this behaviour taking place, and discrepancies when comparing Alexa rankings with analytic services such as <a href="http://www.google.com/analytics/">Google&#8217;s</a>, some concerns over Alexa&#8217;s accuracy have been raised.</p>
<p><span id="more-5808"></span></p>
<p style="text-align: justify">The tracking tool that users download, tracking their activity for Alexa allows Alexa to show the proportion of a web sites global traffic rank, reach and page views in relation to all the other sites Alexa has data about. What Alexa does not do, is give precise numbers for any of it&#8217;s site detail categories.</p>
<hr />
<h3>Long Tail</h3>
<p style="text-align: justify">A recent blog on the Alexa site <a href="http://blog.alexa.com/2010/02/whats-going-on-with-my-alexa-rank.html">&#8220;What&#8217;s Going On With My Alexa Rank?&#8221;</a> offered an explanation for some dramatic change in Alexa rank that some smaller sites have experienced. The Long Tail represents how a tiny change in value can dramatically change a sites position on the curve (rank) dependent on it&#8217;s starting position.</p>
<p style="text-align: justify">A site at the top of the curve will see very minor changes in position even when visitor <img class="size-full wp-image-5836 alignright" src="http://catn.com/files/2010/08/cat-n-graph.png" alt="" width="220" height="80" />numbers change by the thousands, as the density of sites at this level is low. From the middle to the lowest point of the curve is the highest density of web sites from the 200 million reported by Netcraft in their <a href="http://news.netcraft.com/archives/2010/07/16/july-2010-web-server-survey-16.html">July 2010 Survey</a>. A small change in visitor numbers, maybe a spike of 5000, will dramatically effect a sites relative rank when 10 million other sites share similar traffic stats, thus leading to a dramatic change of an Alexa ranking.</p>
<hr />
<h3>Google Analytics</h3>
<p style="text-align: justify">To gauge the accuracy of Google analytics before comparing to Alexa I carried out a number of comparisons between analytics data and our own web monitoring with <a href="http://awstats.sourceforge.net/">awstats</a>. Across the three sample sites below I found consistent correlation with plus or minus 5,000 page views on average for each day in the trailing three month range.</p>
<hr />
<h3>A comparison</h3>
<p style="text-align: justify">I wanted to compare large sites we host with Alexa rankings to test the accuracy for myself, unfortunately I can&#8217;t give any names!</p>
<hr />
<p style="text-align: center;font-size: 18px;color: #8a8a8a;margin-bottom: -6px">Large site #1</p>
<p style="text-align: center"><img class="size-full wp-image-5844 aligncenter" src="http://catn.com/files/2010/08/petrolprices2.png" alt="Comparing Alexa traffic reach with google analytics" width="498" height="306" /></p>
<p style="text-align: justify">Over three months Alexa is pretty accurate in tracking traffic patterns for my first sample site. Even the spike is fairly represented, and the time frame the spike takes place over is correct.</p>
<p style="text-align: center;font-size: 18px;color: #8a8a8a;margin: 30px 0 -6px 0">Large site #2</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5857" src="http://catn.com/files/2010/08/housepricecrash21.png" alt="Comparing Alexa traffic reach with google analytics" width="506" height="308" /></p>
<p style="text-align: justify">Alexa does represent traffic patterns over the course of a week but the accuracy is certainly less than <strong>Site #1</strong>, and the time frame is inconsistent.</p>
<p style="text-align: center;font-size: 18px;color: #8a8a8a;margin: 30px 0 -6px 0">Large site #3</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6153" src="http://catn.com/files/2010/08/imac21.png" alt="Comparing Alexa traffic reach with google analytics" width="500" height="308" /></p>
<p style="text-align: justify">This is the weakest correlation of the three graphs, with only a suggestion of this site&#8217;s traffic patterns. The spikes from Alexa for global reach do not seem to follow any spikes in page views on the actual site.</p>
<hr />From my small sample the accuracy of Alexa varies greatly. Clearly there is no consistency in the accuracy of Alexa&#8217;s logging, although some ranks and global reach percentage correlate very closely. This certainly suggests that Alexa cannot be relied upon to give accurate visualisation in every case.</p>
<hr />
<h3>The numbers</h3>
<p style="text-align: justify">As I have access to analytics data for numerous large sites on our cluster I can attempt to calculate the real number of site visitors 0.001% of global traffic in Alexa. Adding to my two example sites with Alexa graphs I will use three more large sites hosted on CatN vClusters. Before attempting to calculate the real visitor value of an Alexa percentage it is important to check the consistency across a sample of data for each site.</p>
<hr />
<table>
<tbody>
<tr>
<th><strong>Site 1</strong></th>
<th>Alexa page views %</th>
<th>Google analytics page views</th>
</tr>
<tr class="odd">
<td>July 12th</td>
<td style="text-align: right">0.0008</td>
<td style="text-align: right">220403</td>
</tr>
<tr>
<td>July 26th</td>
<td style="text-align: right">0.00058</td>
<td style="text-align: right">266596</td>
</tr>
<tr class="odd">
<td>August 6th</td>
<td style="text-align: right">0.0004</td>
<td style="text-align: right">118727</td>
</tr>
</tbody>
</table>
<hr />
<table>
<tbody>
<tr>
<th><strong>Site 2</strong></th>
<th>Alexa page views %</th>
<th>Google analytics page views</th>
</tr>
<tr class="odd">
<td>July 12th</td>
<td style="text-align: right">0.0002</td>
<td style="text-align: right">59628</td>
</tr>
<tr>
<td>July 26th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">72821</td>
</tr>
<tr class="odd">
<td>August 6th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">71239</td>
</tr>
</tbody>
</table>
<hr />
<table>
<tbody>
<tr>
<th><strong>Site 3</strong></th>
<th>Alexa page views %</th>
<th>Google analytics page views</th>
</tr>
<tr class="odd">
<td>July 12th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">45178</td>
</tr>
<tr>
<td>July 26th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">37790</td>
</tr>
<tr class="odd">
<td>August 6th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">27290</td>
</tr>
</tbody>
</table>
<hr />
<table>
<tbody>
<tr>
<th><strong>Site 4</strong></th>
<th>Alexa page views %</th>
<th>Google analytics page views</th>
</tr>
<tr class="odd">
<td>July 12th</td>
<td style="text-align: right">0.0007</td>
<td style="text-align: right">341092</td>
</tr>
<tr>
<td>July 26th</td>
<td style="text-align: right">0.0007</td>
<td style="text-align: right">431614</td>
</tr>
<tr class="odd">
<td>August 6th</td>
<td style="text-align: right">0.0003</td>
<td style="text-align: right">27893</td>
</tr>
</tbody>
</table>
<hr />
<table>
<tbody>
<tr>
<th><strong>Site 5</strong></th>
<th>Alexa page views %</th>
<th>Google analytics page views</th>
</tr>
<tr class="odd">
<td>July 12th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">60716</td>
</tr>
<tr>
<td>July 26th</td>
<td style="text-align: right">0.0001</td>
<td style="text-align: right">54384</td>
</tr>
<tr class="odd">
<td>August 6th</td>
<td style="text-align: right">0.00005</td>
<td style="text-align: right">49529</td>
</tr>
</tbody>
</table>
<hr />
<p style="text-align: justify">From these sample sites, there are obvious changes in consistency. For sample <strong>Site 1</strong> on July 12th	there were 220,403 page views giving an Alexa global page views of 0.0008%, but on July 26th 40,000 more page views (266,596) results in Alexa giving a lower percentage of global page views, 0.00058.</p>
<p style="text-align: justify">Continuing to sample <strong>Site 2</strong>, on July 12th 59,628 resulted in 0.0002% of global page views and two weeks later 10,000 more page views (72,821) gave a lower Alexa percentage, 0.0001%.</p>
<p style="text-align: justify">Finally in sample <strong>Site 5</strong>&#8216;s data July 12th and July 26th data is consistent with a difference of 6,332 page views (60,716 &#8211; 54,384) giving the same Alexa percentage in both cases 0.0001%. However, on August 6th the site page views drops to 49529, approximately 5,000 less page views, but the Alexa percentage halves to 0.00005%, not a relative representation of the change in page views.</p>
<p style="text-align: justify">Sites gaining an Alexa rank of approximately 0.0001% have a wide range of traffic figures suggesting that the Long Tail effect is apparent in this range of sites which must be densely populated. The lowest traffic I have recorded within the 0.0001% range is <strong>Site 3</strong> with 27,290 page views and the highest is <strong>Site 2</strong> with 72,821 page views. With a difference of almost 50,000 page views the Alexa ranking for sites of this size must be densely populated with large change in ranks from relatively small changes in page views.</p>
<p style="text-align: justify">However, sites with page views within this range (27,290 to 72,821 page views) do not have corresponding Alexa global page views percentages. <strong>Site 4</strong> on August 6th fits within the 0.0001% range from Google analytic page view data (27,893 page views), but Alexa gave a global page views percentage of <strong>0.0003%</strong>, 0.0002% higher, revealing clear inaccuracies in Alexa ranking. Due to these inaccuracies I feel it is impossible to attempt to calculate the real world value in page views of a reach of 0.0001% from Alexa.</p>
<hr />
<h3>Users</h3>
<p style="text-align: justify">I wanted to find out how many Internet users actually have the Alexa Toolbar installed, as this could explain varying ranks from Alexa, and the demographic of user&#8217;s would clearly effect the amount of data Alexa is gathering about certain sites.</p>
<p style="text-align: justify">To do this we searched our web server logs for occurrences of the &#8220;Alexa Toolbar&#8221; user-agent string, and variations of. An example user agent string containing the target words would look like this:</p>
<p style="text-align: center;margin-top: 30px"><code>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; <span style="color: red">Alexa Toolbar</span>)</code></p>
<hr />
<p style="text-align: justify">I cannot disclose actual website request numbers or a websites name, however from sample sites receiving requests over a period of time from 1 million to 10 million, an average <strong>0.019%</strong> of those requests came from users with the Alexa toolbar installed.</p>
<p style="text-align: justify">The sample sites demographic is wide ranging from niche technical sites to property and employment sites giving a wide range of sample demographic data. Another point to note is that from these sample sites, the highest percentage of requests from Alexa users was <strong>0.026%</strong>, still a very low percentage, suggesting this level of Alexa requests is applicable across other web sites.</p>
<hr />
<hr />
<p style="text-align: justify">Is it possible for Alexa to give accurate rankings and percentage of global page views for a website, considering many sites are being visited by a tiny number of users that actually have the Alexa toolbar installed? Clearly Alexa cannot be relied on for accurate ranking information for critical site analysis, and perhaps should only be used as a rough guide, especially for smaller sites subject to the long tail effect. What are your experiences of Alexa&#8217;s accuracy? How far do you trust it?</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/08/16/how-accurate-is-alexa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Best Practices</title>
		<link>http://catn.com/2010/08/12/top-ten-mysql-best-practices/</link>
		<comments>http://catn.com/2010/08/12/top-ten-mysql-best-practices/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 09:51:56 +0000</pubDate>
		<dc:creator>Ollie Armstrong</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5929</guid>
		<description><![CDATA[Do you know how to best design a MySQL database, or how to best structure a MySQL query? If not then this post will certainly interest you. Here we will be discussing the best MySQL practices you can use not only to keep your database running smoothly and quickly but also to keep it user [...]]]></description>
			<content:encoded><![CDATA[<p class="first">Do you know how to best design a MySQL database, or how to best structure a MySQL query?  If not then this post will certainly interest you.</p>
<p>Here we will be discussing the best MySQL practices you can use not only to keep your database running smoothly and quickly but also to keep it user friendly.</p>
<h2 style="margin-top: 30px">10 &#8211; Use sensible field names</h2>
<p>Have you ever started on a project and designed the database using ambiguous field names like<span id="more-5929"></span> &#8216;x&#8217; or &#8216;uft&#8217; or other silly abbreviations, then it comes to writing a query and you wonder to yourself &#8220;What the heck did I call the field for First Names?&#8221;.  Well this is possibly one of the worst things you can do to hurt the usability of a database.  Instead simply call a field &#8216;FirstName&#8217; or &#8216;Address1&#8242; and save yourself all the hassle later of looking it up.  Save time, name fields by what they contain.</p>
<h2 style="margin-top: 30px">9 &#8211; Don&#8217;t use &#8216;SELECT *&#8217;</h2>
<p>Let&#8217;s create a scenario, you have a login form on your website and to check if the details are correct you query the database.  This database could contain loads of fields that are totally unnecessary for this certain query like address or phone number.  You would only need the username, password and possibly email to check the user input against.  So why grab all that unneeded data and use up resources when its totally avoidable.  Instead of structuring a query like</p>
<pre style="text-align: center;margin: 20px 0">SELECT * FROM Users WHERE Username = 'bob'
AND Password = 'password'</pre>
<p>Change it so that it only takes what it needs.</p>
<pre style="text-align: center;margin: 20px 0">SELECT Username AND Password FROM Users WHERE Uesrname = 'bob'
AND Password = 'password'</pre>
<p>As you can see from that, it will only get the two fields that you need, reducing the time it takes to run the query.  Good for your database server and good for the end user.</p>
<h2 style="margin-top: 30px">8 &#8211; Limit queries where possible</h2>
<p>Another time and resource saver here.  When you know your query will only return one result, is there any point in continuing to search the database after it has been found?  That&#8217;s what&#8217;s happening if you don&#8217;t limit, it will search the entire database even after it has found the record you are looking for.  A login query will only ever return one result, so let&#8217;s add it into the query to stop searching when that result is found.</p>
<pre style="text-align: center;margin: 20px 0">SELECT FirstName FROM Users WHERE Username = 'bob'
AND Password = 'password' LIMIT 1</pre>
<p>Et voila, the query will be ended when the record is found, another time benefit to the end user.</p>
<h2 style="margin-top: 30px">7 &#8211; Create an ID field</h2>
<p>When you are creating your database, implement an ID field.  Make this one of the INT types, primary key and auto increment.  This way, every single record will have a unique integer as the identifier, which is much cleaner and faster than a VARCHAR.  A VARCHAR as the primary key is much slower than an INT due to processing time, which is why it is not recommended.</p>
<h2 style="margin-top: 30px">6 &#8211; Static tables are best</h2>
<p>First, do you know what a static table is?  Clue&#8217;s in the name.  A table is considered static when all of the column types have a fixed length.  Examples of fixed length types are INT, DATE and DOUBLE, but the ones that are not static (dynamic) are VARCHAR, TEXT and BLOB so these are best avoided.  Although a table is only static when all of the columns are fixed length so if you have one VARCHAR then a table instantly stops being static.</p>
<h2 style="margin-top: 30px">5 &#8211; Split large queries</h2>
<p>If you have any maintenance scripts you run on your database which deletes or inserts a large amount of rows (more than about 1000) then you are better off splitting them up.  MySQL works most efficiently when queries finish sooner, so if you split a large delete query into multiple smaller ones, you are less likely to lock up your database.  This can be done simply by using <em>LIMIT 1000</em> at the end of the query.  To automate running all of the queries, a PHP infinite loop can be used.</p>
<pre style="margin: 20px 0">while (1) {
	mysql_query("DELETE From Comments WHERE PostedDate &lt;= '2010-01-01'
		LIMIT 1000");
	if (mysql_affected_rows() == 0) {
		break;
	}
}</pre>
<p>The if statement checks if anything was actually deleted, and if it wasn&#8217;t then it breaks out of the loop, ending the script.  Very simple to do, and can save your database from bringing down your website.</p>
<h2 style="margin-top: 30px">4 &#8211; Use smaller columns where possible</h2>
<p>In a database, size is everything.  A large data size can often cause a bottleneck in your database server, so the best solution to this?  Use types that are smaller in size.  If you can get away with using SMALLINT or even TINYINT instead of the regular INT then go for it!  When large amounts of rows are created, it will make all the difference.</p>
<p>There is a <a href="http://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html">whole document</a> on the MySQL Docs website that explains the sizes and storage uses of the various types and from that we can see that INT uses 4 bytes, where as SMALLINT uses only 2 and TINYINT uses only 1 byte.  The space saving opportunities are endless!</p>
<h2 style="margin-top: 30px">3 &#8211; Use an index key where necessary</h2>
<p>This is possibly one of the best things you can do to decrease the times needed to search a table.  Any field that is regularly going to be searched should have an index on it.  There is absolutely no reason not to!  One query is all that it takes.</p>
<pre style="text-align: center;margin: 20px 0">ALTER TABLE Users ADD INDEX ('firstName')</pre>
<p>And that&#8217;s it.  The column firstName now has an index on it that will drastically increase the performance of searching by it.</p>
<h2 style="margin-top: 30px">2 &#8211; Change the default username and password</h2>
<p>If you have a database server like mine, then the default username and password is &#8216;root&#8217;.  This is incredibly insecure, and <strong>needs</strong> to be changed.  Again, it can be solved by two simple MySQL queries.  First to change the username.</p>
<pre style="text-align: center;margin: 20px 0">RENAME USER root TO new_username</pre>
<p>That changes the username to whatever you specify and this next one will set your password.</p>
<pre style="text-align: center;margin: 20px 0">SET PASSWORD FOR 'username'@'hostname' = PASSWORD('newpass')</pre>
<p>Make sure you update any connection settings in any of your scripts after changing the username and password.</p>
<h2 style="margin-top: 30px">1 &#8211; Don&#8217;t give users the ability to inject MySQL</h2>
<p>The <strong>number one</strong> rule of MySQL is <em>don&#8217;t trust the users</em>.  If you have a database incorporated into a PHP script which inserts data, for example a registration form then it is possible for a user to inject SQL.  It&#8217;s a bit complicated to explain, but there is a <a href="http://dev.mysql.com/tech-resources/articles/guide-to-php-security-ch3.pdf">handy .pdf</a> over at dev.mysql.com that goes through it in epic detail.  All you really need to know is how to defend yourself against it.</p>
<p>The easiest way is to simply sanitise any data that is received from the user.  Let&#8217;s consider this:</p>
<pre style="margin: 20px 0">$name = $_POST['name'];
$query = "INSERT INTO Users (name) VALUES ('".$name."')";
mysql_query($query);</pre>
<p>Currently the name variable is whatever the user inserts and that could contain SQL to delete all tables.  Not good.  So we sanitise the string to make that impossible.  Here is the new code with the sanitation.</p>
<pre style="margin: 20px 0">$name = filter_var($_POST['name'], FILTER_SANITIZE_STRING);
$query = "INSERT INTO Users (name) VALUES ('".$name."')";
mysql_query($query);</pre>
<p>Notice the change on the first line?  Good.  That&#8217;s SQL injection safeguarded against.</p>
<p>I hope you have learnt from this post, and use at least some of these practices.  Any questions?  Leave a comment and I will reply.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/08/12/top-ten-mysql-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling WordPress 3.0 multi-site</title>
		<link>http://catn.com/2010/08/09/enabling-wordpress-3-0-multi-site/</link>
		<comments>http://catn.com/2010/08/09/enabling-wordpress-3-0-multi-site/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 16:15:27 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5870</guid>
		<description><![CDATA[WordPress 3.0 integrates the old WordPress MU (Multi User) version into a single version that supports multiple sites on multiple domains on a single WordPress install. Your CatN vCluster makes an ideal platform for running a WordPress blog farm. If you&#8217;re looking for unlimited domains (including vanity domains!) from a single WordPress installation, this guide [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first"><a href="http://wordpress.org">WordPress</a> 3.0 integrates the old WordPress MU (Multi User) version into a single version that supports multiple sites on multiple domains on a single WordPress install.</p>
<p style="text-align: justify">Your CatN vCluster makes an ideal platform for running a WordPress blog farm. If you&#8217;re looking for unlimited domains (including vanity domains!) from a single WordPress installation, this guide will get you up and running in no time.</p>
<p style="text-align: center"><strong>Note:</strong> This guide only applies to WordPress version 3.0 and above.</p>
<p style="text-align: center;font-size: 16px"><strong>This guide is dependant on you installing WordPress in your root directory, not in a subdomain.</strong><br />
<span style="font-size: 13px">e.g. install WordPress in your www/sites/fubra-customer/http folder</span></p>
<p><span id="more-5870"></span></p>
<hr />
<h2>Getting Started</h2>
<p style="text-align: justify">Unzip your downloaded WordPress install to a folder on your desktop.</p>
<p style="text-align: justify">Open the newly unzipped WordPress folder, locate the file called &#8220;wp-config-sample.php&#8221;, and rename it to &#8220;wp-config.php&#8221;.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5861" src="http://catn.com/files/2010/02/wp1.png" alt="" width="486" height="284" /></p>
<p style="text-align: left">Open the newly named &#8220;wp-config.php&#8221; in you text editor and locate the MySQL Settings section.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5862" src="http://catn.com/files/2010/02/wp2.png" alt="" width="443" height="464" /></p>
<p style="text-align: justify">You need to open your vCluster setting page to retrieve your database information which is available on the CatN Control Panel: <a href="https://passport.fubra.com/site/cat/login/">https://passport.fubra.com/site/cat/login/</a>.</p>
<p style="text-align: justify">After the <strong>&#8216;DB_NAME&#8217;</strong> field, enter your username exactly as it appears in the Database Settings page, as this is the same as your database name.</p>
<p style="text-align: justify">After the <strong>&#8216;DB_USER&#8217;</strong> field, enter your username.</p>
<p style="text-align: justify">After the <strong>&#8216;DB_PASSWORD&#8217;</strong> field, enter your Database password. Note: This is different to your Access password, and can be changed in the Database Settings screen.</p>
<p style="text-align: justify">After the <strong>&#8216;DB_HOST&#8217;</strong> field, enter the server name in the Database Settings screen. eg. xserve1.dc.fubra.net.</p>
<p style="text-align: justify">You can ignore the two remaining fields, (<strong>&#8216;DB_CHARSET&#8217;</strong> &amp; <strong>&#8216;DB_COLLATE&#8217;</strong>).</p>
<h3 style="margin-top: 40px">The multi-site rule</h3>
<p><img class="aligncenter size-full wp-image-5882" src="http://catn.com/files/2010/08/multisite1.png" alt="" width="510" height="569" /></p>
<p style="text-align: justify">Scroll to the bottom of the wp-config file, and just after <span style="font-family: courier">define(&#8216;WP_DEBUG&#8217;, false);</span> add the rule &#8220;<strong><span style="font-family: courier">define(&#8216;WP_ALLOW_MULTISITE&#8217;, true);</span></strong>&#8220;. This is a very important step, and you must make sure that it matches exactly the text in this guide.</p>
<p style="text-align: justify">I have also added comments above this rule, just to help me review this file quickly at a later date. You do not have to do this, but it is good practice to comment any code.</p>
<p style="text-align: justify">Once you have added the multi-site rule you can save and close the completed &#8220;wp-config.php&#8221;, making sure you click &#8216;Yes&#8217; when FileZilla prompts you to re-upload the file to the server. There may be a delay of a few seconds before this prompt appears so be patient, it&#8217;s very important!.</p>
<h2 style="text-align: left;margin-top: 60px">Uploading</h2>
<p style="text-align: justify">To upload WordPress files to the root directory of your vCluster follow the <a href="http://catn.com/2010/06/09/ftp-upload-to-public-directory/" target="_blank">FTP upload guide</a>.</p>
<p style="text-align: justify">To upload WordPress files to a sub-domain on your vCluster follow the <a href="http://catn.com/2010/06/09/vhosting/" target="_blank">vHosting guide</a>.</p>
<p style="text-align: justify">
<h2 style="text-align: left;margin-top: 60px">Installing WordPress</h2>
<p style="text-align: justify">Now you can install WordPress in the usual manner. If you are unsure how to do this have a look at the guide, &#8220;<a href="http://catn.com/2010/02/24/installing-wordpress-on-your-vcluster/">Installing WordPress on your vCluster</a>&#8220;</p>
<h2 style="text-align: left;margin-top: 60px">Multi-site in the Admin panel</h2>
<p style="text-align: justify">Head to your WordPress install URL and login to the admin panel by adding &#8220;/wp-admin&#8221; to the end of your site URL. Use the left navigation side panel and select Tools. Under this option you should see a new link called Network, select it now.</p>
<p><img class="aligncenter size-full wp-image-5893" src="http://catn.com/files/2010/08/multisite2.png" alt="" width="210" height="234" /></p>
<p>In the Network panel, choose to setup your multiple sites on Sub-domains or Sub-directories.</p>
<div style="margin: 30px 20px;font-family: Georgia;font-style: italic;color: #777777"><strong>Sub-directory sites</strong><br />
It works with the use of the mod_rewrite feature on the server having the ability to read the .htaccess file, which will create the link structure.<br />
If you are using pretty permalinks in your blog already, then subdirectory sites will work as well.<br />
<strong>Sub-domain sites</strong><br />
It works using wildcard subdomains. You must have this enabled in Apache, and you must also add a wildcard subdomain to your DNS records. (See Step 2 how to set up.)<br />
Some hosts have already set up the wildcard on the server side, which means all you need to add is the DNS record.<br />
Some shared webhosts may not support this, so you may need to check your webhost before enabling this feature.</p>
<p style="text-align: center;font-size: 10px"><a href="http://codex.wordpress.org/Create_A_Network">http://codex.wordpress.org/Create_A_Network</a></p>
</div>
<p style="text-align: justify">CatN vCluster is configured to allow wildcards to be directed to the correct vHost, so fully supports either options. I recommend Sub-domains as this allows you to take advantage of the unlimited free domains on your vCluster account. Finally enter your network title and you email address. When all this information has been entered, click install.</p>
<h2 style="text-align: left;margin-top: 60px">Editing your WordPress install</h2>
<p style="text-align: justify">In the following screen you will be presented with a lot of information. Take your time to read through it and familiarise yourself with the steps we are about to follow.</p>
<p style="text-align: center"><img class="aligncenter size-large wp-image-5911" src="http://catn.com/files/2010/08/multisite3-1024x618.png" alt="" width="614" height="371" /></p>
<p style="text-align: justify">Let&#8217;s get started&#8230;</p>
<p style="text-align: justify"><strong>1. Create a blogs.dir directory:</strong> I&#8217;m going to create this directory using an FTP client with a user interface such as <a href="http://filezilla-project.org/">FileZilla</a>. FTP to your vCluster and navigate to your WordPress installation directory, if you don&#8217;t know how to FTP to your vCluster read this guide: &#8220;<a href="http://catn.com/2010/06/09/ftp-upload-to-public-directory/">FTP Upload</a>&#8220;. In my case this is the &#8220;http&#8221; folder as my WordPress is installed in the root directory.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5917" src="http://catn.com/files/2010/08/multisite4.png" alt="" width="563" height="453" /></p>
<p style="text-align: justify">Following the Admin panel instructions, I want to navigate to <em>&#8220;/sites/fubra-customer/http/wp-content&#8221;</em>. Inside this directory create the new directory named <strong>blogs.dir</strong>. FileZilla should create this directory with the correct permissions, but you can right click on blogs.dir and select <em>Permissions</em> to ensure the web server can write to the directory.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5919" src="http://catn.com/files/2010/08/multisite5.png" alt="" width="275" height="474" /></p>
<p style="text-align: justify;margin-top: 30px"><strong>2. Edit the wp-config.php file:</strong> In the same FTP navigation panel navigate to the root directory of your WordPress install, and locate the wp-config.php file. As I said earlier, my WordPress install is in my &#8220;http&#8221; folder -&gt; /sites/fubra-customer/http.</p>
<p style="text-align: justify">As I am using FileZilla I can edit the file on the web server. Right click on the wp-config.php and select View/Edit. This opens up my text editor and allows me to copy and pase the code from my WordPress Admin panel.</p>
<p style="text-align: justify">Following the WordPress admin panel instructions, copy the code under <strong>Step 2</strong> and paste <strong>above</strong> the line near the bottom of the wp-config file reading: <span style="font-family: courier">/* That’s all, stop editing! Happy blogging. */.</span></p>
<p><img class="aligncenter size-full wp-image-5937" src="http://catn.com/files/2010/08/multisite6.png" alt="" width="419" height="366" /></p>
<p style="text-align: justify">As you can see this code fits nicely below my &#8220;Enable multi-site&#8221; comment! One thing remains to do in the wp-config.php file. This is very important, make sure you delete the line we added at the start of the process: <span style="font-family: courier">define(&#8216;WP_ALLOW_MULTISITE&#8217;, true);</span>. Once this line is deleted, you can save and close the wp-config.php file, making sure FileZilla commits the changes to the server.</p>
<p><img class="aligncenter size-full wp-image-5969" src="http://catn.com/files/2010/08/multisite9.png" alt="" width="497" height="471" /></p>
<p style="text-align: justify;margin-top: 30px"><strong>3. Edit the .htaccess file:</strong> Again, using FileZilla make sure you are in the root directory of your WordPress install. In my case the file path is /sites/fubra-customer/http to my WordPress root directory. Before we locate or create the .htaccess file, make sure that hidden files are viewable in FileZilla. To do this select Server from the top menu bar (MacOSX), and make sure <em>Force showing hidden files</em> is checked.<br />
<img class="aligncenter size-full wp-image-5943" src="http://catn.com/files/2010/08/multisite7.png" alt="" width="274" height="203" /></p>
<p style="text-align: justify">Now have a look in the root of your WordPress install for an .htaccess file. It is unlikely that one will be here, to create a new file, open a text editor. Copy and paste the code from <strong>Step 3</strong> on the WordPress dashboard into your text editor and save it as <strong>htaccess.txt</strong>. Make sure you save it as plain text, ending in .txt, and we will change the file extension on the server after the upload.</p>
<p style="text-align: justify">Now upload this file to the WordPress root directory by dragging it into the FileZilla server panel. Once the file is uploaded, right click and select rename. Make sure the file is now called, <strong>.htaccess</strong>. Make sure you delete any file extensions and the file is named exactly as shown.</p>
<p><img class="aligncenter size-full wp-image-5946" src="http://catn.com/files/2010/08/multisite8.png" alt="" width="267" height="192" /></p>
<p style="text-align: justify">If you already had an .htaccess file in your root directory you can edit the contents. Right click on it and select <em>View/Edit </em> to open the file in your text editor. Now select the code from <strong>Step 3</strong> on the WordPress dashboard and override all the contents of this file, leaving only the copied code. Now save this file and ensure it updates to the Web server.</p>
<h3>.craccess</h3>
<p style="text-align: justify">The final bit of file editing, that is not explained in the WordPress dashboard, which is local to the CatN vCluster is in the .craccess file. Those of you paying attention will have noticed a .craccess file above your .htaccess file. We need to edit this file slightly in order to make sure content is being served correctly.</p>
<p style="text-align: justify"><strong>Note:</strong> If you are unsure about .htaccess or .craccess have a look at this guide: &#8220;<a href="http://catn.com/2010/03/22/craccess-and-htaccess/">.craccess and .htaccess&#8221;</a></p>
<p style="text-align: justify">Right click on your .craccess file and select <em>View/Edit</em> to edit the contents. Your .craccess file contents need to be overwritten with the following. Make sure you replace the (highlighted in red) <span style="color: red">Private IP</span> with your own, available in settings page of your vCluster in the CatN Control Panel: <a href="https://passport.fubra.com/site/cat/login/">https://passport.fubra.com/site/cat/login/</a>.</p>
<div style="margin: 30px 0 30px 30px">
<p><code>RewriteEngine On</code></p>
<p><code># allow WP dynamic files through<br />
RewriteCond %{REQUEST_URI} ^files<br />
RewriteRule ^(.*)$ http://<span style="color: red">0.0.0.0</span>/$1 [P,L]</code></p>
<p><code> </code><code>RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|css|js|ico)$<br />
RewriteRule ^(.*)$ http://<span style="color: red">0.0.0.0</span>/$1 [P,L]<br />
</code></p>
</div>
<p style="text-align: justify">Now all our file editing is complete you can click the <span style="text-decoration: underline">Log In</span> link at the bottom of the Network panel in the WordPress Dashboard to re-login and finish the Network creation.</p>
<h2 style="margin-top: 60px">Super Admin</h2>
<p style="text-align: justify">After you log back in to the WordPress dashboard you will be able to see a new Super Admin tab in the left side bar.</p>
<p><img class="aligncenter size-full wp-image-5971" src="http://catn.com/files/2010/08/multisite10.png" alt="" width="475" height="276" /></p>
<p style="text-align: justify">This panel allows you to administer your WordPress install across multiple sites by adding users and domains etc.</p>
<p style="text-align: justify">The exact function of each Super Admin option is explained in detail on the WordPress Codex: <a href="http://codex.wordpress.org/Super_Admin_Menu">http://codex.wordpress.org/Super_Admin_Menu</a>.</p>
<h2 style="margin-top: 60px">Domain Mapping</h2>
<p style="text-align: justify">Now that multi-site is installed and your Network has been created you can create multiple sites, and direct the domain names you have purchased to each site. To test domain mapping create a test site before you attempt to map domains to a working site!</p>
<hr />
<h3>Create a test site</h3>
<p style="text-align: justify">In your WordPress dashboard, have a look at the <em>Super Admin</em> panel and select <em>Sites</em>. This will take you to the Sites admin panel, enabling you to create a new site in your Network.</p>
<p style="text-align: justify">In the <strong>Site Address</strong> box enter &#8220;<strong>test1</strong>&#8220;. This will add the test1 sub domain to your WordPress domain. Make sure you dont put any spaces in this box.</p>
<p style="text-align: justify">In the <strong>Site Title</strong> box enter &#8220;<strong>Test 1</strong>&#8220;. Don&#8217;t worry about the boring name, this is only a test site, and you can delete it later.</p>
<p style="text-align: justify">In the <strong>Admin Email</strong> box enter your administrator email address.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5992" src="http://catn.com/files/2010/08/multisite11.png" alt="" width="528" height="361" /></p>
<p style="text-align: justify">When this information has been entered, click <em>Add Site</em> to complete the process.</p>
<p style="text-align: justify">You will now be directed to your sites overview panel where you will be able to view your newly created site. At this point grab a pen and paper and take note of the sites ID number, this will be important later. In my case the test1 sites ID is <span style="font-size: 17px"><strong>3</strong></span></p>
<p style="text-align: center"><img class="aligncenter size-large wp-image-5993" src="http://catn.com/files/2010/08/multisite12-1024x178.png" alt="" width="581" height="102" /></p>
<hr />
<h3>Installing WordPress MU Domain Mapping plugin</h3>
<p style="text-align: justify">Now you need to install this plugin to add the Domains, and Domain Mapping functionality to your Super Admin panel. First thing first, download the plugin from the <a href="http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/">WordPress Plugin Directory</a>.</p>
<p style="text-align: justify">This plugin is a little different to others, you don&#8217;t simply copy the plugin folder to your <em>wp-content/plugins</em> folder on the web server, it has precise installation instructions you must make sure you follow correctly.</p>
<p style="text-align: justify"><strong>Step 1:</strong>Extract the downloaded plugin file to your desktop and open the extracted folder. Inside you will see these files&#8230;</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5996" src="http://catn.com/files/2010/08/multisite13.png" alt="" width="395" height="326" /></p>
<p style="text-align: justify;margin: 40px 0 20px"><strong>Step 2:</strong> Go back to your FileZilla window and navigate to the wp-content folder. On my vCluster the directory path is: <em>/sites/fubra-customer/http/wp-content</em>. Drag the <strong>sunrise.php</strong> file from the extracted plugin folder to the <strong>wp-content</strong> folder you have found in FileZilla.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-5997" src="http://catn.com/files/2010/08/multisite14.png" alt="" width="518" height="414" /></p>
<p style="text-align: justify;margin-top: 40px"><strong>Step 3:</strong> Now to copy the second file to your WordPress install. Head back to your extracted plugin folder and find the file named <strong>domain_mapping.php</strong>. Now switch back to Filezilla and navigate to the plugins folder inside the wp-content directory. My file path is: /sites/fubra-customer/http/wp-content/plugins.</p>
<p style="text-align: justify;margin-bottom: 20px">Drag the <strong>domain_mapping.php</strong> file to the WordPress plugins directory to complete the upload. Provided you have not installed any other plugins the directory should look like this:</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6007" src="http://catn.com/files/2010/08/multisite19.png" alt="" width="513" height="282" /></p>
<p style="text-align: justify;margin: 40px 0 20px"><strong>Step 4:</strong> Time to edit the wp-config file again! In case you don&#8217;t remember where it is, head back to your WordPress install root in FileZilla, in my case <em>/sites/fubra-customer/http</em>. Scroll down and find the <strong>wp-config.php</strong> file, right click on it and select <em>View/edit</em>.</p>
<p style="text-align: justify">Your text editor will open up allowing you to make changes to the file. Add the following text just below the Multi-site text we added earlier.</p>
<div style="margin: 30px 0 30px 30px"><code>/**<br />
*Enable domain mapping plugin<br />
*/<br />
define( 'SUNRISE', 'on' );</code></div>
<p style="text-align: justify"><strong>Note:</strong> The text between forward slashes, Enable domain mapping plugin, is a comment to help reviewing this file at a later date. You do not need to add it, but I recommend commenting wherever possible, it will make your life easier in the long run!</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6002" src="http://catn.com/files/2010/08/multisite17.png" alt="" width="365" height="373" /></p>
<p style="text-align: justify">Make sure you save and close the <em>wp-config.php</em> file after making changes and that you click &#8216;Yes&#8217; to the FileZilla prompt about re-uploading the file. This is very important!</p>
<hr />
<h2>Dashboard configuration</h2>
<p style="text-align: justify">Now that the plugin has ben uploaded, head to your WordPress dashboard, but make sure you are in the dashboard for the original WordPress site, not the test site we just created. This is very important as many changes are local to the site dashboard you make changes in, for example you can activate a plugin in one site and it will remain deactivated in another! To change between sites look for the Dashboard tab in the left sidebar and select <em>My Sites</em>.</p>
<p><img class="aligncenter size-full wp-image-6005" src="http://catn.com/files/2010/08/multisite18.png" alt="" width="320" height="239" /></p>
<p style="text-align: justify">You can now switch between dashboards using this control panel by selecting the &#8220;Dashboard&#8221; sub-nav under the site name.</p>
<p style="text-align: justify">Make sure you are in the original sites dashboard, in my case the site named &#8220;Customer&#8221;, or the name you gave your site during the WordPress installation process. Have a look down the left sidebar and find the Plugins tab. Select Plugins under the Plugins tab to display a list of the currently available plugins to this WordPress install.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6008" src="http://catn.com/files/2010/08/multisite20.png" alt="" width="503" height="258" /></p>
<p style="text-align: justify">Click Activate under the <strong>WordPress MU Domain Mapping</strong> plugin to activate the plugin and enable Doamin Mapping functionality in your Super Admin panel. Now if you look over the left sidebar under the Super Admin tab, two new options have been added, Domain Mapping, and Domains.</p>
<p><img class="aligncenter size-full wp-image-6009" src="http://catn.com/files/2010/08/multisite21.png" alt="" width="196" height="252" /></p>
<p style="text-align: justify">Click the Domains link to take you through to the Domain mapping panel. Now, do you remember taking down the Site ID number when you created the test1 site? If you have forgotten it or didn&#8217;t write it down you can click the Sites button in the Super Admin panel to find it again. If you have your Site ID to hand type it in the <strong>Site ID</strong> text box.</p>
<p style="text-align: justify">In the <strong>Domain</strong> text box enter the domain name you have purchased, e.g. joegardiner.co.uk that you want to direct visitors to the test site we created. You can leave the Primary box ticked.</p>
<p><img class="aligncenter size-full wp-image-6010" src="http://catn.com/files/2010/08/multisite22.png" alt="" width="475" height="233" /></p>
<p style="text-align: justify">Now all this information has been entered you can click save.</p>
<hr />
<h2>Pointing your domain</h2>
<p style="text-align: justify">Now that WordPress has been configured to direct my domain, joegardiner.co.uk to the test1 site, I need to change my domain settings to point at my vCluster and the WordPress install. The following instructions may vary depending on who you bought your domain from, but the principle is the same.</p>
<p style="text-align: justify">Head over to the CatN control panel, <a href="https://passport.fubra.com/site/cat/login/">https://passport.fubra.com/site/cat/login/</a>, and find the Settings page for your vCluster. If you have difficulties take a look at the <a href="http://catn.com/2010/06/09/quick-start-guide/">Quick Start Guide</a>. On the settings page for your vCluster you can find your <strong>Public IP address</strong>. Mine is: 87.124.84.82, take a note of yours and copy and paste it from the Settings page to a text file.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6012" src="http://catn.com/files/2010/08/multisite23.png" alt="" width="414" height="205" /></p>
<p style="text-align: justify">Now head over to the company you bought your domain name from. I bought mine from <a href="http://www.livetodot.com/">LivetoDot</a>, so will be using their control panel in the next few steps. The exact process may differ but the records we&#8217;re changing are the same with any domain name provider.</p>
<p style="text-align: justify">You need to find the <strong>DNS</strong> settings for you domain name, and within the DNS settings there should be an <strong>Address (A)</strong> records panel&#8230;</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6016" src="http://catn.com/files/2010/08/multisite24.png" alt="" width="410" height="259" /></p>
<p style="text-align: justify">In the Address (A) Settings panel, past you Public IP address from the CatN control panel into the <strong>www</strong> hostname IP address text box, and the empty hostname text box if there is one. This will direct traffic to my vCluster IP for <em>joegardiner.co.uk</em> and <em><strong>www</strong>.joegardiner.co.uk</em>.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6017" src="http://catn.com/files/2010/08/multisite25.png" alt="" width="397" height="194" /></p>
<p style="text-align: justify">It may take a few minutes for you Address (A) record to update so be patient, and after a while try typing your domain name, e.g. joegardiner.co.uk into your web browser to see where it takes you.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-6018" src="http://catn.com/files/2010/08/multisite26.png" alt="" width="575" height="464" /></p>
<p style="text-align: justify">As you can see from my last screen, the domain joegardiner.co.uk is successfully directing to my main WordPress installs IP address which is then mapping the domain to my <strong>test1</strong> Multi-site! Success!</p>
<p style="text-align: justify">This process can be repeated as many times as you want by simply creating a site, remembering its ID and mapping a domain name to the site ID. Then you just point your domain names Address (A) record at your vCluster IP for successful domain mapping.</p>
<hr />
<p style="text-align: justify">If you run into any difficulties following this guide, please comment and I&#8217;ll do my best to help you!</p>
<hr />
<hr />
<div style="font-size: 10px;text-align: center">
<p style="font-size: 11px"><strong>Sources</strong></p>
<p style="margin-top: 10px"><a href="http://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite"><strong>WordPress Codex</strong>: Migrating Multiple Blogs into WordPress 3.0 Multisite</a></p>
<p><a href="http://codex.wordpress.org/Create_A_Network"><strong>WordPress Codex</strong>: Create A Network</a></p>
<p><a href="http://www.interconnectit.com/840/wordpress-3-0-multisite-with-multiple-domains-setup/"><strong>Interconnect it</strong>: WordPress 3.0 Multisite With Multiple Domains Setup</a></p>
</div>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/08/09/enabling-wordpress-3-0-multi-site/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Pointing an External Domain to Your vCluster</title>
		<link>http://catn.com/2010/07/22/pointing-an-external-domain-to-your-vcluster/</link>
		<comments>http://catn.com/2010/07/22/pointing-an-external-domain-to-your-vcluster/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 10:51:11 +0000</pubDate>
		<dc:creator>Ollie Armstrong</dc:creator>
				<category><![CDATA[Guides]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5294</guid>
		<description><![CDATA[Welcome to a short guide on how to point an external domain at your vCluster. After following these steps you will be able to use an externally registered domain to point to your vCluster. Firstly, make sure you have an external domain and a CatN vCluster. An external domain is one you have registered seperately [...]]]></description>
			<content:encoded><![CDATA[<p class="first">Welcome to a short guide on how to point an external domain at your vCluster.  After following these steps you will be able to use an externally registered domain to point to your vCluster.</p>
<p>Firstly, make sure you have an external domain and a CatN vCluster.  An external domain is one you have registered seperately like a .co.uk address or a .com one.  For example&#8230;</p>
<pre style="text-align: center;margin: 20px 0">www.olliearmstrong.co.uk</pre>
<p>&#8230;is an external domain.  There are many places to register one of these domains and a Google search will reveal multiple registrars that you may use.  You will probably want to choose the cheapest one that offers the best service and value for money, and for that I can recommend:</p>
<pre style="text-align: center;margin: 20px 0"><a href="http://www.livetodot.com">livetodot.com</a></pre>
<p>Visit them and buy a domain if you don&#8217;t already own one.  This will also be the registrar I will provide screenshots for.</p>
<h2 style="margin-top: 30px">Getting the Required Settings</h2>
<p>You need to be able to tell the domain where to actually point to, so you need the address of your vCluster.  This can be found in the settings page.  So, login to the vCluster Control Panel and look on the settings page.  You can click any of the images on this post to show the full size image.</p>
<p><a href="http://catn.com/files/2010/07/Picture-3.png"><img class="aligncenter size-medium wp-image-5295" style="margin-top: 20px;margin-bottom: 20px" src="http://catn.com/files/2010/07/Picture-3-300x32.png" alt="" width="300" height="32" /></a></p>
<p>What we need from this page is the Public IP Address.  This address is the IP address that the domain registrar can use to point to your vCluster.  So, go ahead and copy or save the Public IP and we will use it later.</p>
<p><a href="http://catn.com/files/2010/07/Picture-4.png"><img class="aligncenter size-full wp-image-5296" style="margin-top: 20px;margin-bottom: 20px" src="http://catn.com/files/2010/07/Picture-4.png" alt="" width="600" height="299" /></a></p>
<h2 style="margin-top: 30px">Setting up DNS Records</h2>
<p>Domain registrars use something called DNS Records to track where to point the domain to.  It is the more advanced version of Nameservers.  We need to set something called the A Record.  But this may be different for your registrar, so I will show you how to do it using the one I use, but it should be pretty obvious where the options are for yours.</p>
<p>You need to log into the Control Panel of your domain registrar, there will probably be a link on the homepage of the registrar or it will have been emailed to you.  Now, find your way to the settings of your registered domain.  For Livetodot, you need to click My Domains and then click on the domain.</p>
<p><a href="http://catn.com/files/2010/07/8.png"><img class="aligncenter size-medium wp-image-5484" style="margin-top: 20px;margin-bottom: 20px" src="http://catn.com/files/2010/07/8-300x157.png" alt="" width="300" height="157" /></a></p>
<p>Then choose something similar to Nameservers or DNS or Advanced DNS.  Here I click DNS and it brings me to this page.</p>
<p><a href="http://catn.com/files/2010/07/9.png"><img class="aligncenter size-medium wp-image-5485" style="margin-top: 20px;margin-bottom: 20px" src="http://catn.com/files/2010/07/9-300x79.png" alt="" width="300" height="79" /></a></p>
<p>On here there should be an option to set different types of records and a load of other stuff we don&#8217;t need.  We are only interested in the A Record.  So click on the link for &#8216;Address (A) Record&#8217;, and that takes us to a page with a few boxes.</p>
<p><a href="http://catn.com/files/2010/07/10.png"><img class="aligncenter size-medium wp-image-5486" style="margin-top: 20px;margin-bottom: 20px" src="http://catn.com/files/2010/07/10-300x77.png" alt="" width="300" height="77" /></a></p>
<p>On the page it will probably ask for a hostname &#8211; and as you can see, on Livetodot it has multiple hostnames.  We are only interested in the first one (the blank one) and the IP Address of the first one.  This is where we put in the Public IP we copied earlier.  Once that&#8217;s done you can click save changes and it will update the DNS settings.</p>
<p>Often it can take up to 48 hours to update them, but mine was instantaneous.  When it has finished updating you will then be able to access your vCluster at this new registered domain instead of the one that we give you!</p>
<p>Any problems trying to do this?  Leave a comment and I will try and help.</p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/07/22/pointing-an-external-domain-to-your-vcluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud provider sign up check list</title>
		<link>http://catn.com/2010/07/16/cloud-provider-sign-up-check-list/</link>
		<comments>http://catn.com/2010/07/16/cloud-provider-sign-up-check-list/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 16:15:48 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5394</guid>
		<description><![CDATA[With a plethora of cloud hosting services available to the market it is becoming more difficult to find a provider that suits your specific needs. I decided to put together a list of questions to help you analyse exactly the service a cloud provider can offer you, to help your move to a cloud platform [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first">With a plethora of cloud hosting services available to the market it is becoming more difficult to find a provider that suits your specific needs.</p>
<p style="text-align: justify">I decided to put together a list of questions to help you analyse exactly the service a cloud provider can offer you, to help your move to a cloud platform go as smoothly as possible.</p>
<hr />
<h1>1. Which languages does their platform support?</h1>
<p style="text-align: justify">This may seem like an obvious one, but dig a little deeper. You need to know if your app will run on a providers system, and in some cases even when a platform claims to run any php application for example, certain configurations, such as database, may prevent this from being the case.</p>
<p><span id="more-5394"></span></p>
<p style="text-align: justify">Ask your provider for specific app compatibility <strong>before</strong> you sign up, and if they are unsure ask them to install the app to test it for you.</p>
<hr />
<h1>2. What access options do they offer?</h1>
<p style="text-align: justify">This is particularly important for developers. Every cloud host will offer you FTP access, as there are few better ways for transferring your website files to their platform, however additional access options like SSH may be important for your application and team, so it&#8217;s well worth checking this in advance, as not all cloud providers allow ssh access.</p>
<div style="margin-left: 30px">
<h1>2.5. Do they support version control?</h1>
<p style="text-align: justify">Following on from access options, it is important to ensure that a potential cloud provider supports version control systems, especially if you plan on hosting large projects. Systems such as <a href="http://git-scm.com/">Git</a>, <a href="http://subversion.tigris.org/">Subversion</a>, and <a href="http://mercurial.selenic.com/">Mercurial</a> allow developers to revise versions before making them live, and restore to previous versions in the case of a failure, certainly valuable features to be supported, especially for large critical projects.</p>
</div>
<hr />
<h1>3. Where is their data centre located?</h1>
<p style="text-align: justify">It is important to know exactly where your website will be hosted as this will effect the performance for international users. When considering location it is also important to investigate the cloud providers connectivity so any geographic factors can be balanced by high speed back haul, peering and connections to internet exchanges.</p>
<p style="text-align: justify">Having said this, if a cloud provider has multiple data centre locations and allows you to specify your location, or host in multiple locations, this is less of an issue.</p>
<hr />
<h1>4. Does their billing system suit the cloud platform?</h1>
<p style="text-align: justify">Cloud hosting supports a utility model that allows billing for consumed resources to occur. This is a large benefit to using a cloud platform, as I wrote about in <a href="http://catn.com/2010/07/14/how-do-large-web-sites-benefit-from-cloud-provisioning/">How do large website benefit from Cloud provisioning?</a> and <a href="http://catn.com/2010/06/30/benefits-of-cloud-hosting/">Benefits of Cloud Hosting</a>.</p>
<p style="text-align: justify">If the potential provider is not offering a pay for resources billing system and is only offering packages, they are not allowing you to benefit from the utility model of a cloud platform and it may be worth looking elsewhere for a company who can fully utilise, and provide, the key benefits of a cloud platform.</p>
<hr />
<h1>5. Do they offer a backup service?</h1>
<p style="text-align: justify">Providing backups is not a vital feature for choosing a cloud provider and of course, it depends on your requirements. However, when using applications like WordPress that store data for blog posts in a database, a hosting provider backup service can be the simplest solution for protecting your web sites content.</p>
<p style="text-align: justify">Plenty of hosts offer free or competitively priced backup services, so if backups are important for your project and you dont want to manage them yourself, there&#8217;s no need to pay huge amounts for the added extra.</p>
<hr />
<h1>6. What levels of support are available with a hosting package?</h1>
<p style="text-align: justify">Support is always an important issue when choosing a web host, especially when moving from one host to another. Numerous small configuration settings that are incompatible between platforms can be a nightmare to sort out without a capable support rep to ease the process.</p>
<p style="text-align: justify">Having said that, it&#8217;s worth doing a bit of research into public opinion about a cloud providers support record, just to to avoid any nightmares that are all to frequently reported online. Even if you don&#8217;t think you&#8217;ll need support, it is reassuring to know a good service is available for a new, possibly unfamiliar platform, especially if it&#8217;s included in the price.</p>
<hr />
<h1>7. How easily does their platform scale?</h1>
<p style="text-align: justify">One of the main motivations for moving to a cloud platform has to be the possible scalability. You can have a read about cloud scalability in my previous article <a href="http://catn.com/2010/07/14/how-do-large-web-sites-benefit-from-cloud-provisioning/">Large web sites can benefit from Cloud provisiong</a>. If scalability is indeed your reason for moving to cloud, you&#8217;re going to want to scale your project easily with minimal or ideally no configuration.</p>
<p style="text-align: justify">This is a reasonably technical question to ask a potential cloud provider but is well worth investigating to avoid continuous adjustments to your service to cope with spikes, or reduce resources to save money during quiet periods. Ideally you want a platform that scales instantly without any interaction from you or your engineers.</p>
<p style="text-align: justify">If scalability is not an issue for you, then perhaps a cloud provider is not applicable for your project&#8230;</p>
<hr />
<h1>8. Is their database hosting powerful enough for your app?</h1>
<p style="text-align: justify">Web development is evolving and applications requiring databases are becoming more and more common. The availability and quality of a database is high on any developers list and should be thoroughly investigated before signing up to a cloud provider. As well as the standard database service offered, it is worth taking note of any &#8220;add on&#8221; database services.</p>
<p style="text-align: justify">This style of cloud custom package building is offered by the more developer oriented cloud providers and should be understood before purchasing cloud hosting.</p>
<hr />
<p style="text-align: center"><strong>If you can think of any more that aren&#8217;t included comment away and I&#8217;ll add the best ones!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/07/16/cloud-provider-sign-up-check-list/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How do large web sites benefit from cloud provisioning?</title>
		<link>http://catn.com/2010/07/14/how-do-large-web-sites-benefit-from-cloud-provisioning/</link>
		<comments>http://catn.com/2010/07/14/how-do-large-web-sites-benefit-from-cloud-provisioning/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 11:14:52 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5340</guid>
		<description><![CDATA[A cloud hosting platform offers many benefits. These are often reduced to four main categories, Cost, Stability, Security, and Scalability. You can read about these categories in more detail in a previous blog post&#8230; For large websites arguably the two most important benefits are scalability and cost, and in a cloud environment they are closely [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" class="first">A cloud hosting platform offers many benefits. These are often reduced to four main categories, Cost, Stability, Security, and Scalability. You can read  about these categories in more detail in a <a href="http://catn.com/2010/06/30/benefits-of-cloud-hosting/">previous blog post&#8230;</a></p>
<p style="text-align: justify">For large websites arguably the two most important benefits are scalability and cost, and in a cloud environment they are closely linked. The nature of a cloud platform allows resources to be allocated and removed as a sites demand scales, which is reflected in the expenditure required from the business as quantities of resources are consumed. <span id="more-5340"></span>As resource use drops the hosting expenditure required follows suit, offering scalability from performance to billing.</p>
<hr />
<h2>Over provisioning</h2>
<p style="text-align: justify">Any website considered &#8220;large&#8221; being developed and launched will already have a considerable audience in place, due to other forms of media promotion such as printed advertisements employed by the company. This present audience will often lead to high traffic and demand after the launch with a slow reduction in traffic until the traffic becomes consistent. The nature of the site will also have an impact on traffic, with a news update or forum post generating traffic spikes, and on a large site this is likely to be considerable.</p>
<p style="text-align: justify"><img class="alignnone size-full wp-image-5371" src="http://catn.com/files/2010/07/cloudprov2.png" alt="" width="801" height="135" /></p>
<p style="text-align: justify">The difficulty faced by system administrators planning a large company&#8217;s web site infrastructure, is providing resources required to handle these spikes and high initial traffic. The expenditure for a new hosting project is often high as servers must be acquired to give the infrastructure capacity to meet demand, and consultancy and setup costs also play a role in a high expenditure.</p>
<p style="text-align: justify">Problems occur when launch traffic levels decrease and a more consistent pattern of site visitors starts to emerge. Apart from content or externally influenced spikes, large capacity has been purchased and is not being fully utilised but must still be maintained to cope with spikes, resulting in an inefficient infrastructure expenditure during periods of standard traffic. For any business to be successful, ongoing wasted infrastructure expenditure should be addressed and avoided. This is where the benefits of a cloud platform are most applicable.</p>
<hr />
<h2>Cloud provisioning</h2>
<p style="text-align: justify">A cloud platform allows users to avoid the high expenditure required to build an infrastructure from scratch by renting a portion of the platform from the provider. This reduces the initial high expenditure required and the staffing costs for providing the service. However, the greatest benefit for a large web site in the cloud is the utility computing model offered by cloud hosting providers.</p>
<p style="text-align: justify"><img class="alignnone size-full wp-image-5368" src="http://catn.com/files/2010/07/cloudprov1.png" alt="" width="689" height="155" /></p>
<p style="text-align: justify">The utility model allows resources to be provided as a service, and for clients to pay for only the resources they use (commonly on top of a small initial base package). This model instantly removes the issue of over provisioning, provided the cloud providers infrastructure is correctly configured and has extra capacity to meet the rise (and fall) in a sites traffic. Any resources for meeting traffic spikes are rented temporarily so as traffic decreases again the hosting expenditure reduces proportionally. The capital expenditure required for hardware, software and engineering services is massively reduced, with a smaller upfront payment required, improving a companies cash flow.</p>
<p style="text-align: justify">Aside from cost, performance for a sites users will be consistent with a cloud provider managing their capacity. For a company  managing their own hosting, as a site nears capacity performance will decrease until capacity is increased, incurring more costs! In a  cloud system, a large web site will benefit from seamless capacity and performance increases as more nodes are added to the cloud platform requiring no engineering from the customer or extra expenditure (apart from usage). This instant capacity scaling allows a cloud platform to meet traffic demands with no negative impact on performance, improving the user experience on the website.</p>
<hr />
<h2>Finally&#8230;</h2>
<p style="text-align: justify">Clearly a strong motivation for moving to a cloud platform for a business will be the massively reduced costs of infrastructure and management, as well as the scalable nature of the utility billing ensuring hosting expenditure is efficient for the business model. It is important for site performance to be considered as a large benefit also, a cloud platforms scalability provides consistent performance under any load.</p>
<p><strong>If you&#8217;re thinking of moving to a Cloud hosting provider, have a look at the </strong><a href="http://catn.com/2010/07/16/cloud-provider-sign-up-check-list/">Cloud Provider Check List</a> <strong>before making your decision!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/07/14/how-do-large-web-sites-benefit-from-cloud-provisioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to switch between passport groups in the CatN Control Panel</title>
		<link>http://catn.com/2010/07/06/how-to-switch-between-passport-groups-in-the-catn-control-panel/</link>
		<comments>http://catn.com/2010/07/06/how-to-switch-between-passport-groups-in-the-catn-control-panel/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 11:16:29 +0000</pubDate>
		<dc:creator>Joe Gardiner</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://wordpress.fubra.com/catn/?p=5283</guid>
		<description><![CDATA[At CatN all services are related to a group in the Fubra Passport System. This enables us to centralize payments, support, and any other subscriptions under a common account. When you sign up we create a personal account and give you the option to create a business account as well. When you first login to [...]]]></description>
			<content:encoded><![CDATA[<p class="first">At CatN all services are related to a group in the <a href="http://passport.fubra.com">Fubra Passport System</a>. This enables us to centralize payments, support, and any other subscriptions under a common account. </p>
<p>When you sign up we create a personal account and give you the option to create a business account as well. When you first login to the CatN Control Panel you will be in the context of your personal account. If your service subscription is associated with you business account then you will need to switch to this account in oder to view your CatN services. </p>
<p>You can switch accounts in the Control Panel using the drop down menu in the top right hand corner, next to the logout link.</p>
<p><img src="http://catn.com/files/2010/07/switchaccount.png" alt="" width="404" height="204" class="aligncenter size-full wp-image-5284" /></p>
]]></content:encoded>
			<wfw:commentRss>http://catn.com/2010/07/06/how-to-switch-between-passport-groups-in-the-catn-control-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
