User Tools

Site Tools


moving_your_etano_site_to_another_host_using_cpanel

How to transfer your Etano site to another host using cPanel. This method is an easier and faster process than uploading all your files individually via FTP, and you don’t need any 3rd party software (FTP program) to accomplish the task.

Note: This method only works if both your existing host and the new host are using cPanel.

cPanel is the most popular Linux hosting control panel used by numerous web hosts. It has a File Manager which allows you to compress and zip and download all of your site files in one go. By zipping and downloading all of your Etano site files to your local computer first, you can easily upload and extract all the Etano site files to another web host server.

Creating a zip backup of all your Etano site files:

Step 1. Log into cPanel on your existing host.

Step 2. Under Files, click "File Manager".

Step 3. In the popup, select Web Root and Show Hidden Files, then click Go.

Step 4. Locate the folder where you have your Etano files, typically in the public_html folder (unless you've chosen to install Etano in a subfolder).

Select ALL the Etano files and folders, then select the "Compress" icon.

Step 5. In the popup, select compression type (Zip Archive), then name the archive file (such as etano_site.zip), then click the Compress File(s) button.

When the compression is done you'll find a zip file named "etano_site.zip" located in the etano root folder, which will typically be the public_html folder (unless of course you've chosen to install Etano in a subfolder).

Step 6. Select the zip file and the right click on it and select "Download" and then download it to a location on your computer or to a flash drive.


Transferring your Etano files to another host:

Step 1. Log into cPanel on your new host.

Step 2. Under Files, click "File Manager".

Step 3 In the popup, select Web Root and Show Hidden Files, then click Go.

Locate the folder where you want your Etano files uploaded to, which will typically be the public_html folder (unless you've chosen to install Etano in a subfolder)..

Then click on the "Upload" link and locate the "etano_site.zip" file on computer.

Once the upload is complete, locate the "etano_site.zip" and select the zip file, then click the "Extract" icon. This will extract all your Etano files into the public_html folder (unless you've chosen to install Etano in a subfolder).


On your new host server create a new database:

  1. Log in to your cPanel.
  2. Click on the 'MySQL® Databases' link.
  3. Create the Etano database:
    1. Choose a name for your Etano database (for example 'etano'), enter it in the 'New Database' field and click 'Create Database'. Please note that your chosen database name will be prefixed with your cPanel username (e.g if you had chosen 'etano' as your database and the username you use to connect to cPanel is 'myuser' then your full database name will be 'myuser_etano').
  4. Create the database user:
    1. Choose a username for Etano (for example 'etano') and enter it in the Username field.
    2. Choose a password and input it into the Password field.
    3. Click Create user. Please note that your chosen user will be prefixed with your cPanel username (e.g if you had chosen 'etano' as your database user and the username you use to connect to cPanel is 'myuser' then your full database user will be 'myuser_etano').
  5. Assign the user to the database:
    1. Under 'Add Users To Your Database', select your Etano username from the User dropdown list, then select your Etano database from the Database dropdown list. Under 'Privileges' check ALL, then click 'Add User To Database'.
  6. Back to the 'MySQL Account Maintenance' screen you should see a list with current databases. Please note the database name, hostname, username of your newly created database.

Then import the saved copy of your Etano database (SQL file) into your new database.


Configuring the Defines file for your new host:

Open the includes/defines.inc.php file on your new server and edit the highlighted parts so they match your new database and server path, etc.



Selecting PHP version:

Many hosts allow you to select the best or most appropriate PHP version to use for the script your running. The best PHP version for Etano is 5.3.

Step 1. Log into your host cPanel.

Step 2. Under Software and Services, click "Select PHP Version".

Step 3. In the popup, select 5.3 as the PHP version, then click Set as current, then click Save.

moving_your_etano_site_to_another_host_using_cpanel.txt · Last modified: 2016/09/17 19:33 by admin