Thousands of readers can be wrong

A Dreamer, a Photographer, a Musician, a Webdesigner... sometimes a Java coder too: I am Niccolò Favari and this blog is about New Media, Creativity, Business, Communication, Entrepreneurship and lots more. Boring stuff indeed, because I am a very boring dude.

Well, what's the point? I have no point. I just keep writing. And it feels good.

RSS Feeds Icon

LinkedIn Icon

Facebook Icon

How I Migrated Server

I migrated this wordpress powered site from one host to another (hopefully faster and more reliable). I’m still settin’ up the latest nuts and bolts to make the site back working again. I also upgraded to Wordpress 2.0.1 in the process.

It took me 3 hours to get the migration process finished (and still I’m not 100% up and running):

  • I disabled all the plugins and themes (switched to the default).
  • I backed up the whole database via phpmyadmin in “mysql40 compatibility mode” (first of all I had to repair it via cpanel due to some errors in it).
  • I created another database on the new host.
  • Imported the old one.
  • Imported the whole public_html directory over here (including the wordpress stuff of course) via FTP.
  • Edited the config.php accordingly to the new DB settings.

Then came the tricky part: I had to change the DNSes of the url. I did it but it takes from 24 to 48 hours to widely spread all around the globe. Result: my feedburner link still could not get the feeds from the new host.

My errors: you have to change your DNS without deleting the old account on the old server! You can safely delete it only after 48 hours. This is because feedburner and other readers may still be pointing to that server… I deleted it right after the DNS change. Great mistake. Result: 48 hours of complete blackout on my feeds and on this site.

Lesson learned: switch DNSes but keep the old account on the old server.

Useful Resources:
Wordpress Backups
Restoring Your Database From Backup
Upgrading Wordpress