Webmail Login
Control Panel Login
Moving Concrete5 to a new hosting company
.CO.UK ONLY £5.33
Find your perfect domain here

Moving Concrete5 to a new hosting company

Concrete5 Install Guide

We recently got an e-mail from a user wanting information on how to transfer a concrete5 site to to a new host, as we like to help anyone using (or considering using) our services we thought we'd do a nice step by step guide. This guide should help anyone wanting to move servers.

Remember to make sure you read each step twice before performing the action so you are clear on what to do.

If you don't have hosting already for your site, check out our Concrete5 Hosting page.

Before starting, get a piece of paper and write the following down.

DB_DATABASE (Database name) =
DB_USERNAME (Database user name) =
DB_PASSWORD (Database password) =

Fill these in as you go along and it will be much much easier!

Step 1 : Backup your websites files and database

OK this first step can sometimes be over before you know it! Some hosting companies (ourselves included) offer a 1 click backup facility. This allows you to backup all of your sites files and databases in a few clicks. If your current host does provide this then we suggest using this feature and skipping to step 2 below. If not, don't panic - our guide below will show you how to download your Concrete5 files via FTP plus export your database.

Step 1a : Backing up your files via FTP

In order for us to get a copy of your files you will need to connect via FTP. For this guide we will use FileZilla FTP Client as it's great and free! You can grab yourself a copy at http://filezilla-project.org.

OK lets get started. The first thing we need to do is collect the following information from your current host.

FTP Host
FTP User name
FTP Password
FTP Port number (usually 21)

MAKE NOTE: write these down on your piece of paper as old FTP host, user name, password and port.

Once you have these, open up FileZilla (on windows PC click the windows icon in bottom left, click all programs, click FileZilla FTP Client, click FileZilla) and enter your host, user name, password and port number at the top of the page

FTp connect Concrete5

Once connected you will need to navigate to where your files are stored. This is usually in a folder called htdocs or public_html. Double click this folder and you should see all of your Concrete5 files (if you have installed Concrete5 in a sub directory e.g. yoursite.co.uk/blog then you will need to navigate to the blog folder to see your files).

Once you are in the folder with your files you will need to select all of your files. You can either do this by clicking the top file in the list then holding shift and clicking the last file, or you can click any file once then press CTRL+A on the keyboard which will select all of the files.

Once you have selected all of your files, you need to copy them to a folder on your computer. In this guide we have made an empty folder on our desktop called 'your website'. To copy the files you left click (hold left click down) on any of the selected files and move the mouse over the folder on your PC, then let go of left click.

Download Concrete5 files

FileZilla will now download all of your Concrete5 files for you! You should see lots of download and connection writing in the top box.

Concrete5 tranfser files

Once this writing has stopped all of your files should have downloaded.

We then need to delete the following folders as they aren't required on our new hosting.

  • files/cache/
  • files/tmp/
  • updates/

Step 1b : Back up your concrete5 database

Backing up your concrete5 database is actually very simple due to the built in backup feature.

Click your Dashboard link at the top

Concrete 5 Dashboard

Next click System & Settings

System & Settings

On the next page under the 'Back & Restore' section click 'Backup Database'.

backup and restore

Click the run backup button. its not necessary to tick .

Concrete 5 Run Backup

The page will load and a backup of your database should appear on the screen. Click the download button and save the file to your computer.

Download SQL Backup

Step 2 : Installing Concrete5 on your new host

That's it for the old hosting company, next we need to set things up on your new hosting. The below guide can be used for most hosts but if you choose us for your Concrete5 hosting then you can follow it exactly.

TIP : Before you can follow the below you will need to order some hosting! You don't need to order a domain transfer until the site is all set up.

Step 2a : Log into your hosting account

For Squirrel Hosting customers, visit SquirrelHosting.co.uk and click Control panel in the top right.

control panel

Enter your login e-mail address and password then click login. Once logged in, click manage your hosting.

manage yoru hosting

Next to your domain name, click 'load control panel'.

load control panel

This will now load your eXtend control panel. This is where squirrel hosting users can access databases and much more.

Step 2b : Create a new database and import our Concrete5 database into it.

Next we need to create a new database and insert our Concrete5 database from the old hosting.

Squirrel Hosting customers click the MySQL Databases icon.

MySQL Databases

Under the create a MySQL database section, enter a user name and a password of your choosing. Please note your user name should be 9 characters or less. Then click the 'create' button.

Concrete5 username and password

Step 2c : Log into your new Concrete5 database via phpMyAdmin

Next we will log into your new database and import the Concrete5 database we downloaded earlier.

Open up phpMyAdmin and navigate to your new database.

Squirrel Hosting customers can do this via the MySQL Database section (the page you were on in the last section) then clicking the 'Now' button under the manage column.

MAKE NOTE: whilst you're in this section write down the database user name (DB_USERNAME) and password (DB_PASSWORD) as you will need this later e.g. below the user name is 'web163-anything' and the password was 'anythingyoulike'.

manage database

Once in phpMyAdmin, click your new database on the left.

Select new Concrete5 database

MAKE NOTE: this is the database name (DB_DATABASE). e.g. the above database name is 'web163-anything'.

You should see a page stating something like "No Tables found in this database". Click the import tab at the top.

Import Concrete5 database

Click the 'choose file' button and select your Concrete5 database zip file we downloaded earlier in step 1.

Choose Concrete5 database file

Then click the 'Go' button further down.


You should now see a bright green strip with some writing stating 'Import has been successfully finished..." (see below pic).

Concrete5 inport successfully finished

Step 3 : Update your config/site.php file

Our last step is to edit your Concrete5 site.php file to have the new database information in it.

Go to the folder you downloaded all of your Concrete5 files to (remember back in step 1a) and open open up the config folder.


In the config folder open up your site.php file.

config site.php

If your computer doesn't know what program to open the file with, choose notepad or a basic text editor.

Once open we will need to edit the DB_SERVER, DB_USERNAME, DB_PASSWORD, and DB_DATABASE to match our new database user name and password.

This is the database user name and password you wrote down at the beginning of step 2c, not your Concrete5 admin user name and password. If you have been making the suggested notes you will have these on your piece of paper :)

Change these values to match what you have written down (make sure DB_SERVER says localhost), then save and close it.

Edit config.php file

Step 4 : Upload your Concrete5 files

Right, the final stage is to upload all your files to your new host. Open up FileZilla and in the top bar we will need to enter your new hosting FTP details.

For Squirrel Hosting customers you can find your FTP details on the right hand side of your eXtend control panel (see step 2a for how to log into your eXtend control panel). You will also need to unlock your FTP, again this can be done by the unlock FTP feature on the right.

For non Squirrel Hosting customers you will need to contact your new host for your connection details.

Once you have entered your details into FileZilla, click 'connect'.

You should now be able to see your main web folder where you will put all of your Concrete5 files. This is usually called Public_html or htdocs or home (on Squirrel Hosting its public_html).

Next you will need to drag all of the files you downloaded in step one (including the edited config.php) onto this folder. To do this select all the Concrete5 files (CTRL+A) then left click (keep left click held down) and move the mouse over your web folder (Public_html etc). The folder should change to be highlighted, when it does let go of left click.

upload concrete5 files via ftp

That's all the files and the database set up. The next step is to to either update your name servers (if you wish to keep your domain with your old company) or transfer the domain if you wish to move your domain to the new company.

Once you have transferred your domain (or updated the name servers) you should be able to log into your Concrete5 site just like you did before using the same Concrete5 user name and password you used to use.

If this guide has helped you, why not leave a comment below or click the social +1 buttons at the top of the page to share?

If you're looking for fast, reliable hosting for your Concrete5 site, why not check out our packages on our web hosting page?

Leave a comment

Has this guide helped you? Have an idea for a guide or need help? Let us know below.

© Copyright 2014 | Squirrel Hosting Limited
Company Number 9031308