Migrating AlgoSphere to a new domain or hosting provider is straightforward when you follow these steps in the correct order.

Before You Start

Always perform a full backup of both your files and database before migrating.

Step 1 — Back Up Your Files

Download a complete copy of your AlgoSphere installation directory from the current server using FTP or cPanel File Manager. This includes all PHP files, uploads, and the .htaccess file.

Step 2 — Export the Database

  1. Log in to phpMyAdmin on the current server.
  2. Select your AlgoSphere database.
  3. Click Export → Quick → SQL → Go.
  4. Save the .sql file to your computer.

Step 3 — Set Up the New Server

  1. Create a new database on the new server and note the credentials.
  2. Import the .sql file into the new database via phpMyAdmin (Import tab).
  3. Upload all AlgoSphere files to the new server via FTP.

Step 4 — Update the Configuration

Open application/config/config.php and update the base URL:

$config['base_url'] = 'https://newdomain.com/';

Open application/config/database.php and update the database credentials:

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'new_db_user';
$db['default']['password'] = 'new_db_password';
$db['default']['database'] = 'new_db_name';

Step 5 — Update Base URL in the Database

Run the following SQL query in phpMyAdmin to update stored URLs:

UPDATE tblsettings SET value = REPLACE(value, 'https://olddomain.com/', 'https://newdomain.com/');

Step 6 — Test & Verify

  • Visit the new URL and log in to confirm everything works
  • Check that images and uploads load correctly
  • Test email sending from Setup → Settings → Email → Send Test Email
  • Verify the cron job is configured on the new server
  • Confirm SSL is active if you're using HTTPS
Final Step

Once confirmed working, update your DNS to point to the new hosting and cancel the old one when DNS has propagated.