Move a site yourself

migration, diy, wordpress, backup, files, database · 0 found this helpful

Moving a site yourself is free. If you would rather have us do it, see Expert migration. This article shows the safe way to do it yourself. Plan on a couple of hours for a small site.

Before you start

  • You need access to your old hosting and your Barbrick account.
  • Do not change your nameservers until the new copy works.
  • Have a full backup of the old site, saved on your computer.

Method 1: WordPress, with a backup plugin

Works for most WordPress sites.

  1. On the old site, install a migration or backup plugin and create a full backup. Download it.
  2. In Barbrick, install a fresh WordPress. See Install WordPress.
  3. Install the same plugin there and restore the backup.
  4. Check the site using a private preview. See Preview your site before your domain points here.

See also Move an existing WordPress site to Barbrick.

Method 2: files and database

Works for any site with files and a database.

  1. Download the files. From the old host's file manager or an FTP client, download everything in the website folder. See Connect with SFTP or FTP.
  2. Export the database. In phpMyAdmin on the old host, choose the database and click Export. See Export a database.
  3. Create a database at Barbrick. Go to Account → Hosting → your site → Databases → MySQL databases. Create a database, a user, and assign the user. See Create a MySQL database and user.
  4. Import the database. In phpMyAdmin, choose the new database and click Import. See Import a database.
  5. Upload the files. Put them in public_html using Account → Hosting → your site → Files. See Upload your website files.
  6. Update the settings. Edit the configuration file, such as wp-config.php, to match the new database name, user, and password.
  7. Test. Check pages, forms, and logins.

Method 3: send us a full backup

If your old host's control panel (often cPanel) can make a full backup, create one there and send it to us. We restore it as part of Expert migration. See Moving from another web host.

Moving email

  1. Create the same addresses at Barbrick. See Create an email account.
  2. Copy old messages with an IMAP tool or your email app. See Import email from your old provider.
  3. Switch email after DNS changes. See What happens to your email during the move.

Switch the domain

Only after you are happy: Point your domain to Barbrick.

If something goes wrong

Blank page or database error. Usually the configuration file points to the wrong database name, user, or password. See Fix "Error establishing a database connection".

The site redirects to the old address. WordPress stores its address in the database. See Change a WordPress site's URL.

Images missing. Some files did not upload. Compare folder sizes.

You are stuck. Ask us. We can take over at any point. See Request a migration.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.