Install a new application
Make sure that you choose to install the same version as you are currently using on your existing site. This will allow you to take advantage of automated updates and automated installation of extensions.
Backup your application
You will need to backup your existing application's files and database from your previous host, so that you can upload these to your server on Standing Cloud.
Replace Standing Cloud's database with your existing application's database
You will need the following information from Standing Cloud's console:
-
User: the "System Username"
-
** If the username is longer than 16 characters, which is not the case for most applications, it is only the right most 16 characters
- This is because MySQL only supports 16 character usernames
- We use the right most 16 characters because of multi-app (since the right side has the unique characters)
-
** If the username is longer than 16 characters, which is not the case for most applications, it is only the right most 16 characters
- Password: the "System Password"
- Database: the "System Username"
Using FTP upload your existing database file to the /tmp/ directory.
NOTE: User the provided system username and password to access your new Standing Cloud server via FTP.
Once you have done this, you will need to drop your existing Standing Cloud database, re-create it, and then restore your previous server's database to the newly created database.
NOTE: User the provided system username and password to access your new Standing Cloud server via FTP.
Once you have done this, you will need to drop your existing Standing Cloud database, re-create it, and then restore your previous server's database to the newly created database.
Using the terminal, these commands may look something like this:
NOTE: system username & system password are provided to you in the admin console
NOTE: system username & system password are provided to you in the admin console
terminal:~ mysql --user='system_username' --password='system_password' --execute='DROP DATABASE system_username';
terminal:~ mysql --user='system_username' --password='system_password' --execute='CREATE DATABASE system_username';
terminal:~ mysql --user='system_username' --password='system_password' --database='system_username' < ~/tmp/uploaded_db_name;
If it is easier, you may also install phpMyAdmin alongside your application and use it to drop the database, create it, and restore the backup file.
Replace Standing Cloud's files with your existing application's files
You will need the following information from Standing Cloud's console:
- User: the "System Username"
- Password: the "System Password"
- Host: the "Web address"
Once you have this information:
- Using FTP, SFTP, or SSH, log into your server and delete all of the existing files and folders in the 'public_html' folder
- Using FTP, SFTP, or SSH, upload the files and folders from your existing server into the 'public_html' folder on your Standing Cloud Server
Reconfigure your application
It will be different for each application; however, you will need to find the configuration file(s) for your application and update them to match your new servers settings.
Suggested Configuration Changes for WordPress
For example, with WordPress, you will need to update 'htdocs/wp-config.php' with the following settings:
// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', '<<db name from above>>'); /** MySQL database username */ define('DB_USER', '<<db user from above>>'); /** MySQL database password */ define('DB_PASSWORD', '<<db password from above>>'); /** MySQL hostname */ define('DB_HOST', 'localhost');
If you will be accessing your site from a new URL, you will also want to fix this in your application's database (you could also fix this through WordPress' admin console):
mysql --user='<<user_name>>' --password='<<your_password>>' --database='<<db_name>>' --execute='UPDATE wp_options SET option_value = 'http://yournewdomain.com' WHERE option_name = 'siteurl';'mysql --user='<<user_name>>' --password='<<your_password>>' --database='<<db_name>>' --execute='UPDATE wp_options SET option_value = 'http://yournewdomain.com' WHERE option_name = 'home';'