Thursday 18 November 2010

Moving a Wordpress site to another host.

Moved www.q292u.com from paid hosting on jabweb to free hosting on 000webhost.
Here's what I did:

1. Backup all files from q292u.com, using filezilla
2. Backup the database, using wp-db-backup.
3. Set-up the account at 000webhost.
4. Note the FTP and DATABASE login details from 000webhost.
5. Change the nameserver entries at the registrar end (via jabweb interface)
6. Wait a couple of hours until 000webhost says the transfer is complete.
7. Install a plain-vanilla wordpress install. (Need database settings from 000webhost). Login and install (sets up database tables..)
8. Overwrite all files on 000webhost with backed-up files. (Via FTP)
** IMPORTANT - do NOT overwrite wp-config.php **
9. Restore database from backup using phpmyadmin. (Takes a while..)
10. Stand back and admire.

The site was down for less than 24 hours, and that includes the 16-hours break in the middle.

2 comments:

  1. What happens if there is no DB backup? :(

    ReplyDelete
  2. Nice article. Doesn't seem as confusing with all the steps listed in order, but I've only moved 2 sites and have always had problems with photos, the media library. Think I'm using find and replace improperly.

    ReplyDelete