<?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>Interconnect IT - WordPress Consultants, Web Development and Web Design &#187; Hosting</title>
	<atom:link href="http://interconnectit.com/tag/hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://interconnectit.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 17:36:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Migrating a WordPress/WPMU/BuddyPress Website</title>
		<link>http://interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/</link>
		<comments>http://interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 17:11:21 +0000</pubDate>
		<dc:creator>Interconnect IT</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[address change]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[MU]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.interconnectit.com/?p=719</guid>
		<description><![CDATA[Migrating a WordPress site can be something of a scary challenge, but we do it a lot, and we&#8217;ve become used to it. There are many good reasons to move a site &#8211; for example, you might set one up in a subfolder, and decide to move WP to the root. Or perhaps you&#8217;ve built a site on localhost and&#8230; <a class="more" href="http://interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/">continue reading <span class="unicode">&#8674;</span></a>]]></description>
			<content:encoded><![CDATA[<p><!-- Start ScreenSteps Content --></p>
<div class="LessonContent">
<div class="LessonSummary">
<p>Migrating a WordPress site can be something of a scary challenge, but we do it a lot, and we&#8217;ve become used to it.  There are many good reasons to move a site &#8211; for example, you might set one up in a subfolder, and decide to move WP to the root.  Or perhaps you&#8217;ve built a site on localhost and now need to put it on a live server.</p>
<p>If you do it incorrectly, you stand to lose all your widget settings, some file links and so on.  This wasn&#8217;t a problem with &#8216;classic WP&#8217; years ago, but these days there are many many paths stored away in the database, in various forms, and catching them all can be somewhat tricky.</p>
<p>Here I show you the steps we take moving a localhost site to a live domain.  We&#8217;re using WPMU which is running the BuddyPress plugin suite.</p>
</p></div>
<div class="LessonStep top">
<h3 class="StepTitle">The Local Install</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254926142419.png" width="540" height="234" alt="media_1254926142419.png" />
</div>
<div class="StepInstructions">
<p>Here&#8217;s our site on our localhost.  As you can see, it&#8217;s pretty basic, but everything&#8217;s there that needs to be there &#8211; we know all elements of the install works, and now we want to pop it onto a live server.  In this lesson, we&#8217;re going to use FileZilla and ftp the files across from our local install.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Copying the Files</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254926439240.png" width="540" height="415" alt="media_1254926439240.png" />
</div>
<div class="StepInstructions">
<p>On the left you can see we&#8217;ve navigated to our local filesystem for this install.  On the right, we&#8217;re connected to the server.  There are already files there, because we have an old install running.  You should delete all the files and replace them with the new ones in this case, but if you are replacing a site do make sure you have a copy of everything.  Merging sites is much harder than migrating &#8211; and way beyond the scope of this tutorial.</p>
<p>So &#8211; select and drag all the files from one side, to the other.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Moving the Database</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254927088021.png" width="540" height="451" alt="media_1254927088021.png" />
</div>
<div class="StepInstructions">
<p>Our preferred tool for administering databases is mySQL Administrator.  A free tool that really simplifies a lot of DB Admin tasks.  Use this to take a backup of your database.  You&#8217;ll need to create a new backup project.</p>
<ol>
<li>Click Backup</li>
<li>Create New Project</li>
<li>Select the Schema you&#8217;ve been using</li>
<li>Click to move it across, selecting ALL tables (unless you have multiple installs in one database, in which case, just the tables for the install you&#8217;re interested in)</li>
<li>Give it a name</li>
<li>Save Project</li>
<li>Execute the Backup</li>
</ol>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Backup Done</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254927164402.png" width="540" height="177" alt="media_1254927164402.png" />
</div>
<div class="StepInstructions">
<p>You should now have a backup.</p>
<p>Because the server we&#8217;re using doesn&#8217;t allow connections on Port 3306, we&#8217;re going to use phpMyAdmin there.  This is no problem at all, but if you were using mySQL administrator you could use the restore tools there.  If you&#8217;re doing this kind of project you should really know how to use these tools anyway &#8211; I&#8217;m only explaining these steps for completeness sake and showing you a migration I&#8217;m doing myself that&#8217;s likely to be typical.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Editing the SQL</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254927350304.png" width="540" height="321" alt="media_1254927350304.png" />
</div>
<div class="StepInstructions">
<p>A database backup is done simply as a big set of SQL statements that you can run.  If you&#8217;re migrating to a different database you&#8217;ll need to edit the CREATE and USE statement to tell it which database to use.</p>
<p>Be very careful with this database dump by the way &#8211; database dumps are a very easy way for hackers to get into your system and find out lots of information you&#8217;d rather not give away.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Importing The Database</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254927962875.png" width="540" height="393" alt="media_1254927962875.png" />
</div>
<div class="StepInstructions">
<p>Now you need to Import the Database.  We&#8217;re using phpMyAdmin for this. If you have any tables there already, it&#8217;s probably best to drop them.  All of them.  Like I say, if you&#8217;re merging you&#8217;re going to need more help than this guide can provide.</p>
<ol>
<li>Click on the Import tab</li>
<li>Select your file (if it&#8217;s bigger than your sever&#8217;s upload limit then you&#8217;ll have to speak to your admin guys about how to do this.</li>
<li>Press the Go button!</li>
</ol>
<p>Once the import has run successfully you should see a message saying something like &quot;Import has been successfully finished, 95 queries executed.&quot; &#8211; and it can be an awful lot more than 95 queries!  It can also take quite some time.  If you need to handle large datasets it&#8217;s far easier to use the mySQL Administrator tools &#8211; phpMyAdmin can get clunky.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Visit the Site</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254928211787.png" width="540" height="292" alt="media_1254928211787.png" />
</div>
<div class="StepInstructions">
<p>If you try to visit the new uploaded site at the moment you&#8217;ll get a Fatal Error because all sorts of things are confused.</p>
<p>You need to change the wp-config.php file.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Changing wp-config.php DB Settings</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254928518189.png" width="540" height="321" alt="media_1254928518189.png" />
</div>
<div class="StepInstructions">
<p>Change 1, 2, and 3 to match your server&#8217;s database settings.</p>
<p>Change 4 to the appropriate path.  Most installs are in the root directory, so that would mean $base = &#8216;/&#8217;;</p>
<p>Change 5 to the domain name in use.</p>
<p>Change 6 from &#8216;/buddypress.11/&#8217; (or whatever your local path is) to the new path, like in 4, so in most cases that will be &#8216;/&#8217; also.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Search &#038; Replace on the Database</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1272277924659.png" width="467" height="781" alt="media_1272277924659.png" />
</div>
<div class="StepInstructions">
<p>You now need to run a search and replace on the database &#8211; including all incidences of code within serialised PHP strings.  There is an excellent and free utility written by Interconnect IT, called the <a href="http://spectacu.la/search-and-replace-for-wordpress-databases/">Safe Search and Replace Tool.</a></p>
<p>I can&#8217;t emphasise enough that it&#8217;s important to handle serialised PHP correctly.  If you don&#8217;t, then settings will go missing, fields will get corrupted, and your site runs a severe chance of not working on the new location.  It&#8217;s a pain, but it&#8217;s important.</p>
<p>So, download the program, place it in your blog&#8217;s root folder and then run it by visiting the appropriate URL.</p>
<p>If you&#8217;re getting confused at this point, perhaps you shouldn&#8217;t run the program.  Just saying, because it can cause plenty of damage!</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Running the Script</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254930511307.png" width="540" height="83" alt="media_1254930511307.png" />
</div>
<div class="StepInstructions">
<p>Simply visit http://www.example.com/searchreplacedb.php in your browser to fire off the script.  This will run.  If you experience a time-out, or too much output, you may need to go into the script and remove any echos that are slowing it down.  I&#8217;ll probably comment this out in due course anyway, but for diagnostics purposes I&#8217;ve left it.  Once run, you should see something like the above at the bottom.  Even a very large search and replace should only take a few seconds.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Some Tweaks</h3>
<div class="StepInstructions">
<p>Check that you can navigate your site in its new location.</p>
<p>You may have to modify .htaccess to fix paths, and you may need to check your uploads folder for media.  But that&#8217;s it.  All should be good.</p>
</div></div>
<div class="LessonStep top">
<h3 class="StepTitle">Extra Steps for WordPress MU</h3>
<div class="StepImage">
	<img src="http://www.interconnectit.com/wp-content/uploads/2010/04/media_1254930620452.png" width="540" height="277" alt="media_1254930620452.png" />
</div>
<div class="StepInstructions">
<p>If you&#8217;re using WordPress Single User, then that&#8217;s it.  You&#8217;re all done!</p>
<p>But in this example, we&#8217;re running BuddyPress on WordPress MU, and that means one extra step.  In phpMyAdmin you need to open up (1) wp_blogs, (2) click the browse tab, and (3) click the edit tab for each row.  If you have a lot, you may wish to run another searchreplacedb.php against the database, looking for localhost.localdomain and buddypress.11 and swapping them appropriately.</p>
</div></div>
</div>
<p><!-- End ScreenSteps Content --></p>
]]></content:encoded>
			<wfw:commentRss>http://interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Difference Hosting Can Make</title>
		<link>http://interconnectit.com/84/the-difference-hosting-can-make/</link>
		<comments>http://interconnectit.com/84/the-difference-hosting-can-make/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 08:32:30 +0000</pubDate>
		<dc:creator>David Coveney</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[liverpool]]></category>
		<category><![CDATA[liverpool motor club]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://liverpoolwebdesigner.wordpress.com/?p=84</guid>
		<description><![CDATA[It&#8217;s quite apt that on the day that WordPress.com appears to have broken (it&#8217;s not serving any front-end pages on this blog at the time of writing if you&#8217;re logged in) I&#8217;m making a post about hosting. So to the gist of this post. We provide hosting to clients, and only clients.  You can&#8217;t just ring us up and ask&#8230; <a class="more" href="http://interconnectit.com/84/the-difference-hosting-can-make/">continue reading <span class="unicode">&#8674;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s quite apt that on the day that WordPress.com appears to have broken (it&#8217;s not serving any front-end pages on this blog at the time of writing if you&#8217;re logged in) I&#8217;m making a post about hosting.</p>
<p>So to the gist of this post.</p>
<p>We provide hosting to clients, and only clients.  You can&#8217;t just ring us up and ask us to host your site.  We&#8217;re quite picky about what hits our server.<span id="more-84"></span></p>
<p>That makes it nice and quick to respond.  And we keep an eye on response times using <a href="http://pingdom.com" title="Ping Testing">Pingdom</a>&#8216;s service.  If things go bad, we receive SMS and e-mails to inform us.</p>
<p>Recently, we took over the hosting of <a href="http://www.liverpoolmotorclub.com" title="Liverpool Motor Club">Liverpool Motor Club&#8217;s site</a>.  We&#8217;d done them a variation of one of our themes, but their shared server space simply wasn&#8217;t up to the job of running WordPress.  A year ago when we first spoke to them it seemed ok enough, if hardly rocketship fast.  But performance was getting worse and worse.  And as we sponsor their championship and have our name on their website&#8230; well, we wanted to make things look good.   So did they!</p>
<p>So we moved them over to our server.</p>
<p>Looking at the graph of http responsiveness below, can you guess when they moved?</p>
<p><img src="http://liverpoolwebdesigner.files.wordpress.com/2008/02/response_times_for_lmc.gif" alt="Liverpool Motor Club Response Times" /></p>
<p>What&#8217;s interesting to see is the problems they were having with inconsistent responses.  1.5s may be fine for a minority interest website, but 9s averages at any point simply can&#8217;t be accepted.  Their hosts (internetters, for what its worth) are clearly overloading their machines and although they&#8217;re offering php and mySQL something&#8217;s going wrong somewhere.  Static page serving, funnily enough, wasn&#8217;t too bad, if still pretty erratic and at the slow end.</p>
<p>We debated setting up wp-cache, but in the end, we knew the best way to give decent response times was a decent box.</p>
]]></content:encoded>
			<wfw:commentRss>http://interconnectit.com/84/the-difference-hosting-can-make/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Risks With Web Hosting</title>
		<link>http://interconnectit.com/112/managing-risk/</link>
		<comments>http://interconnectit.com/112/managing-risk/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 11:29:43 +0000</pubDate>
		<dc:creator>Interconnect IT</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[failures]]></category>
		<category><![CDATA[false economies]]></category>
		<category><![CDATA[mission critical]]></category>
		<category><![CDATA[risk level]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://liverpoolwebdesigner.wordpress.com/2007/10/26/managing-risk/</guid>
		<description><![CDATA[We&#8217;ve had some clients recently who&#8217;ve been burned by other web designers and their hosts. At first we wondered how&#8230; our own uptime so far this year, removing planned outages, has been 99.966% &#8211; ie, we had three hours downtime on a Sunday morning due to a routing problem at our hosts. It&#8217;s unusual to have even that much downtime,&#8230; <a class="more" href="http://interconnectit.com/112/managing-risk/">continue reading <span class="unicode">&#8674;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had some clients recently who&#8217;ve been burned by other web designers and their hosts.  At first we wondered how&#8230; our own uptime so far this year, removing planned outages, has been 99.966% &#8211; ie, we had three hours downtime on a Sunday morning due to a routing problem at our hosts.</p>
<p>It&#8217;s unusual to have even that much downtime, but it can happen.  Machines can break, drives fail, and availability isn&#8217;t always easy to guarantee.</p>
<p>But if it&#8217;s happening a lot, or you run a mission critical website, then this can be a major issue.  Imagine spending £200k on a national advertising campaign, and the day it goes live the web server&#8217;s having a nap.  The developers are on an office day out, and the hosts put you on hold when you call.</p>
<p>In web hosting there&#8217;s an awful lot of people making false economies &#8211; they run major companies on cheap, consumer level hosting that costs perhaps £15 a month&#8230; or less!  This may be fine if the site isn&#8217;t generally that busy, but any spike in traffic and the machine won&#8217;t have the resources to keep the site going.  Not only that, but because you&#8217;re sharing a box with possibly thousands of other websites, the poor server may well be over-stuffed and overworked anyway.</p>
<p>There&#8217;s a few steps to consider when dealing with this:</p>
<ol>
<li>Properly assess risks.  If you could lose £100,000 of business when your website fails, it&#8217;s obviously wise to spend more than a few hundred pounds a year on it.  But there&#8217;s no point spending £10k a month on a site that generates very little trade, just for the sake of avoiding ten minutes of downtime.</li>
<li>Make sure what goes on the server is only ever fully tested code written by people you can trust.  <a href="http://www.interconnectit.com" title="Interconnect IT">Our own web consultancy, Interconnect IT</a> goes to great lengths to make sure the code supplied is reliable.</li>
<li>Consider bringing in house code-reviews and creating your own testing requirements.</li>
<li>Load test your server with the predicted maximum level of traffic.  If you don&#8217;t, how do you know its adequate?  And you can&#8217;t predict the load just on raw visitor numbers either &#8211; some websites are much more demanding on server resources than others.</li>
<li>Make sure the site is suitably protected from attacks by hackers and even malevolent rivals.</li>
</ol>
<p>Ultimately any website is a reflection of your business &#8211; if it&#8217;s cheap and unreliable, it&#8217;ll say that to your potential clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://interconnectit.com/112/managing-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

