Web Hosting

Media Temple’s Grid Server Not So Wonderful?

Friday, January 19th, 2007

I read a little while ago that Mark Boulton has shifted his blog off the Media Temple Grid Service. He cites the poor performance and unexpected overage costs as part of his reason for moving:

Why? Well, in addition to continuing connectivity issues MT are charging for GPU overage. Since they can’t give me more details as to why I’m going over to the tune of about £30 every month (so I can attempt to reduce it right?), then I’ve got myself one of their nice new DV dedicated machines (with a little help and guidance from Andy and Steve).

It’s a little disappointing to read this, because we were al lead to believe that the Grid Server (to quote mt) would be the last hosting plan we’d ever need. We had boasts of how you could run up to 100 sites off a gridserver account and talk of how you could easily withstand a Digg-ing.

I missed the bit of small print that mentioned GPU overages when I signed up.

In fairness to Mark, he’s stuck with Media Temple, just upgraded to a dedicated server. Presumably that’s the pain-free route to take, as (hopefully) the Media Temple staff will help out with migration.

My own experience with the Grid service has been less than happy. We get regular database outages which knock our sites for six as they’re all WordPress driven.

Moving WordPress From Dreamhost To Media Temple’s Grid Server

Sunday, November 12th, 2006

I’m throwing in the towel with Dreamhost. The downtime problems that started in the summer and seem to be intermittently reappearing have caused me to completely lose hope in DreamHost.

I signed up for a Media Temple Grid Server (affiliate link) account a few weeks back and have been gradually porting my blogs across one-by-one. With other people following suit, I thought I’d share my notes for moving a WordPress install over to Media Temple.

Naturally, this guide assumes that you have existing blogs on Dreamhost and a Grid Server account with Media Temple!

My Setup

I’m running a WordPress 2.0.x install with a handful of plugins and a theme I designed myself. I’ll be backing up the WordPress database and files in advance of the move and shifting them to the new server.

I also have a series of email addresses configured at Dreamhost, so I’ll want to have the equivalent addresses set up at Media Temple, ready for when the domain changes over.

I sensibly registered my domains away from 1&1 Internet, which means I don’t have the hassle of registration transfers or transfer fees! Hooray for me! When I’ve got my data migrated, I’ll simply redirect the DNS to Media Temple et voila - minimal interruption!

Step 1: Backing Up

The first step is to make sure we’ve got all our data ready to move.

WordPress Files: Fire up your FTP program of choice and download your entire WordPress wp-content directory. This is where all of your custom themes, image uploads and plugins reside, so take no chances. Download it separately.

Once I downloaded the wp-content folder, I created a backup folder on my hard disk and downloaded the entire WordPress installation to it. I was glad I did, because there were some miscellaneous directories that I might have otherwise missed!

WordPress Database: Since I run the 2.0.x version of WordPress, I have the luxury of Scott Merrill’s Database Backup plugin.

Simply browse to your site’s wp-admin folder and select Manage, then Backup. The standard WordPress database tables will be backed up by default, but you should check the additional tables for backup, as these are usually related to some of your plugins.

Set the backup plugin to download the file and then click Backup. Wait a few minutes and you’ll be prompted to save the file. Save it somewhere safe: you’ll need it later!
A word of warning: tables for stats packages can get pretty big and cause the backup to fail. If you find this happening, consider leaving out those tables and reinstalling that plugin from scratch after you’ve moved. It means starting your stats again, but might be easier for the job in hand. Part of my migration plan is to install Google Analytics anyway, so it wasn’t a tough choice.

Step 2.1: Pre-Configuring Media Temple

OK, so we’re all backed up. Don’t close your Dreamhost account just yet! If all else goes wrong, you might need to reactivate it! Let’s get things over on Media Temple ready for the move:

  1. Log on to your Media Temple account.
  2. Click on Domains, then Add New. I selected Add an Alternate Domain and Add DNS Zone, but you may want to register or transfer a domain name. It’s important to create a DNS zone for the domain, so that Media Temple is ready to handle the service once the domain is transferred or registered.
  3. On the next page, select your Grid Service and the IP address to link it to (there’s usually only one). Click next to complete the process.

Step 2.2: Importing Your Database

Now, lets set up the database:

  1. Go to the (mt) Domain List and select the primary domain (the first one you set the account up with). Click on the Manage Databases link.
  2. Click on the Add New Database link and give your database a name. (mt) will prefix it with your account code. Make sure that MySQL is selected as the database type.
  3. When you return to the database list, find the one you just created and click the Admin link to start phpMyAdmin.
  4. In phpMyAdmin, select your database from the drop-down and it will load. In the main window, click the Import button at the top of the page. Click OK to begin importing your WordPress database.
  5. That’s it! Your database is now ready - though it might be nice to let your commenters know that some comments might be lost in the transfer.

Step 2.3: Upload your WordPress Files

Now to upload our WordPress installation. Having the files in place means the blog will be ready to rock once you transfer the domain across. Remember to modify the wp-config.php file in your WordPress root folder to the settings of the new database!

  1. In fact, let’s do that now. Go to the Manage Databases page in Media Temple and take a note of the username, password, internal server address and database name, and change wp-config.php accordingly.
  2. Now, upload the entire WordPress installation you backed up earlier. Your account email from Media Temple has a youraccount.gridserver.com address that allows you to upload files before the domain has transferred. Simply log on to that, browse to /domains/yourdomain/html and upload everything. Take the time to ensure everything transferred successfully!

Step 3: Transfer Those Email Addresses

Now, let’s not forget those email addresses! We need to set those accounts up in advance to allow email to be delivered to them when the transfer takes place.

Luckily, my I forward all my email to my Gmail account, so this should be easy!

  1. Go to the Media Temple Account Center, select your primary domain and then the Email Aliases link. Click Add New Email Alias.
  2. There’s a really neat trick that Media Temple does in enabling you to forward an address for all domains in your package. So, say you have an info@ address, if someone sends mail to info@ any of your domains, it’ll be forwarded. Makes it easy to standardise addresses across sites.
  3. Create the alias address, and select the domain you want it to apply to (or leave it set to all domains).
  4. Then you can choose up to three email addresses to forward the messages to. Set this whatever way you require.
  5. Set an optional autoresponder and save the record.
  6. Rinse and repeat for all addresses you need to transfer!

Now, because I set up forwarding, this worked very well for me. If you need a dedicated mailbox, use the Email Users facility instead of aliases.

Step 4: Showtime!

Alright. Take a deep breath. Here we go.

We’re going to modify the DNS of the domain to point to Media Temple. First, I’ll show you how to do this under 1&1 (my method) and then under Dreamhost. Here’s 1&1:

  1. Log on to the 1&1 Admin panel. Click Domains.
  2. Select the domain you want to change and then DNS, Edit DNS Settings. Set the primary and secondary name servers to ns1.mediatemple.net and ns2.mediatemple.net respectively and save your changes.
  3. Wait patiently for DNS to propagate.

And under Dreamhost:

  1. Go to Dreamhost’s control panel and select Manage Domains. Find the domain you’re transferring and click DNS. The domain must be registered with Dreamhost though. In the nameservers area, enter ns1.mediatemple.net and ns1.mediatemple.net in the first two boxes and ensure the other nameserver entries are blank.
  2. Click the Set these nameservers… button and then wait patiently - you guessed it - for DNS to propagate…

Step 5: Test It!

There are a couple of things to test when you’re porting WordPress to a new server. Here are a few:

  1. URL Rewriting doesn’t seem to work out of the box. Go to wp-admin and then Options, Permalinks. Your permalink choice should be intact from before, so just click the Update Permalink Structure button and things should get sorted. The reason for this is probably because my FTP program didn’t backup the .htaccess file. Following the procedure above should recreate the .htaccess file as before.
  2. Send yourself an email (or get a friend to send one). Verify if it got redirected.
  3. Post a comment discreetly on your site and then check your new database in phpAdmin to see if it’s there. If it isn’t, chances are, DNS hasn’t transferred yet and your comment went to the old database.

Final thought: After doing another server move this weekend, I’d advise setting up the DNS zone on Media Temple at least a day in advance for it to be ready. So, it might be better to do that part of the job before you start taking your backups and everything else.

Dreamhost Update

Thursday, January 12th, 2006

Well, it’s only fair to report that my problems with Dreamhost have now been resolved. Not entirely to my satisfaction, but at least the site’s live again.

There still wasn’t much information forthcoming about the reported exploit in WordPress, so I deleted all the remote files at Dreamhost and re-uploaded WordPress. Disabled any plugins that might have included email functionality, etc, etc and changed the passwords.

To make sure I wasn’t violating any terms of service or whatever, I emailed the support guys and told them what I’d done. I asked them to leave the site live to see if the problem would manifest itself again.

Dreamhost support responded to say that they were happy with this course of action and would leave the site alone to see if this happened again. They also advised that after any perceived security breach I should change my access passwords, which I’ve done.

So I’m happy for the moment….

Dreamhost Hosting Sucks - Big Time

Saturday, January 7th, 2006

Pissed off this evening. Well, for the past three evenings, ever since the underwhelming Dreamhost shut down the Scribble Designs website. I came home from work to receive the following message:

Your script found at /server-path/index.php (your Wordpress installation) has been exploited and was being used to send out spam emails through our system. We have disabled the script to help prevent our servers from being used for this purpose, as it is adversely affecting the stability of our mail system. Please do not re-enable it until the security hole has been fixed (you can go to www.wordpress.org for upgrade instructions). We thank you for your attention to this matter.

That’s my business website, fools! Why’d you shut it down? Wordpress doesn’t generate email spam, does it?

Well, it doesn’t bloody seem to. I googled for a solution, hit the support forum and the WordPress Codex. Nothing.

I emailed back, asking for an in-depth answer. Why my website? What led you to diagnose this problem and pinpoint my website? Was a plugin at fault? What response did I get:

You’ll need to contact the authors of wordrpess for more information on patching the software. We do not provide support for third party scripts.

Don’t provide support for third party scripts??? You just offer a one-click install of the damned thing. You’re reknowned as a WordPress/blog hosting company. The guys at WordPress actually recommend DreamHost. They know WordPress well enough to diagnose a blog as a source of spam, but not well enough to advise of a solution. Hmmmm.

Oh yeah, and I’m sure Matt Mullenweg loves to wade in and intervene in individual support calls. Hi Matt! I’m having this problem with Dreamhost…..

So, as of right now, I’m a web designer without a website, all thanks to those lovable chimps at Dreamhost! No straight answers. No fault resolution. Oh, and did I mention that their servers are running at a snail’s pace at the moment?

Do I get my money back when I decide to move to another - better - host? I’ll keep you posted.