04 Mar 2020

Guide For Migrating CPanel To DirectAdmin

Due to the recent new pricing scheme for cPanel, customers’ businesses have been impacted destructively. Therefore, customers have to go through a wide range of choices and some of them decided to migrate into DirectAdmin.

The DirectAdmin is the web hosting control panel software, which lets you administer your website as well as hosting options with the help of the graphical and web-based interface. With this, you can manage an unlimited number of websites as well as email accounts using a DirectAdmin control panel. It automates the task so that the web servers can be shared easily and provide a way to the website owners to set up as well as manage their websites in a fast way. 

In general, DirectAdmin allows you to:

  1. Create and manage email addresses, FTP user accounts
  2. Managing DNS
  3. Observing statistics
  4. Managing the FrontPage extensions
  5. Creating and managing subdomains
  6. Uploading and managing the file with the help of File Manager
  7. Managing MySQL Databases
  8. Backing up and restoring the site files and the account data
  9. Setting up error pages
  10. Setting up directory password protection
  11. Installing SSL certificates, setting up cron jobs as well as advanced tools.

You can easily establish and manage hundreds of websites. Also, DirectAdmin costs very low and has been considered as one of the most popular web hosting control panels. It consists of every feature which you will need to set up your website on the hosting platform.

Now, the question arises.

How do we migrate data from cPanel to DirectAdmin?

Migration is generally a bit risky as it involves live websites. Even a single mistake can cause so many website errors as well as data loss. We always take care of every step along with the proper planning.  So, in total, there are two ways to carry out cPanel migration. 

Following is a step-to-step guide for migrating cPanel to DirectAdmin

First Case: This case is applicable when we have root(WHM) access to SSH shell and we can migrate cPanel via the command line.

Let us have a checklist for this:

  1. Being sure that the hardware on the destination server is greater if not equals to the source server hardware specifications. You are also free to select different configurations from either Dedicated servers or Cloud VPS.
  2. Being sure to include the DirectAdmin license in the order.
  3. Being sure that you have the same amount of IPV4 addresses on your destination server as the source server.

Now, follow the steps below:

First Case: This case is applicable when we have root(WHM) access to SSH shell and we can migrate cPanel via the command line.

Let us have a checklist for this:

  1. Being sure that the hardware on the destination server is greater if not equals to the source server hardware specifications. You are also free to select different configurations from either Dedicated servers or Cloud VPS.
  2. Being sure to include the DirectAdmin license in the order.
  3. Being sure that you have the same amount of IPV4 addresses on your destination server as the source server.

Now, follow the steps below:

Step 1: Downloading the conversion tool

Initially, you need to download cPanel to DirectAdmin conversion tool.

Run the command line:

wget https://www.pusathosting.com/file/da.cpanel.import.9.4.tar.gz

Step 2: Creating paths

This tool will require a path (import and export one) which it will use for the conversion. What we will do is create the import and export directories.

mkdir import export

Step 3: Copying the files to “import directory”

What we will do is copy the user backups from cPanel to the import directory.

You can easily create the backups within the cPanel GUI or with the help of the following command:

/scripts/pkgacct USERNAME

This tool will convert the backups created by the following:

  • the ‘/scripts/pkgacct’ script
  • cPanel’s ‘Full Backup’ GUI tool

You need to run the following command on the source server with cPanel where you would be replacing root@x.x.x.x with the user as well as the IP address of the new DirectAdmin server.

rsync -av /home/cpmove-USER.tar.gz root@x.x.x.x:/import/

You know the name of the backup file is cpmove-USER.tar.gz and this is different for every account.

Step 4: Matching configuration

Now, you need to edit the defaults.conf so to match the DirectAdmin destination server. Here, you must only need to change the IP as well as the nameserver fields.

Step 5: Executing module

Now, you need to proceed to execute the module with the help of the command below and follow the on-screen instructions.

perl da.cpanel.import.pl

Step 6: Moving converted backups

After the completion of converting backups, you need to move the new files from the “export” directory to any DA/home/RESELLER/user_backups directory.

So, we will be using user “admin” as an example.

mv ./export/admin.tar.gz /home/admin/user_backups/

Step 7: Restoring the backups

So, we will now be restoring the backups in the DirectAdmin GUI.

With the help of the “Manage User Backups” tool within the reseller level.

a.) Choose the directory

b.) Choose the option “Stored in the backup”

c.) Select the backup files

So, this is one way to complete the migration from cPanel to DirectAdmin.

Second Case: So, the next case is when we do not have any access to SSH shell and have to migrate the cPanel manually i.e. without any tool.

Step 1: Packaging your account

If you do have root access to the server via SSH (like if you have any VPS), you can do this simply by following the command.

/scripts/pkgacct username

This command will place the cpmove-username.tar.gz file into the /home directory where it can be downloaded via FTP/SCP.

For those who only have user-level cPanel access, you need to login to your cPanel account. You will see a Wizard icon named Backup under the file section.

So, when you click on it, you will be prompted to

1. Backup

2. Full Backup

3. Provide email

When you have completed backup packaging, you will receive an email notification. The generated file will be placed in your home directory. So, you have to download this .tar.gz file onto your desktop.

Step 2: Preparing to upload

For those of you who are windows users, you have to download such as 7-Zip to unpack the tar.gz file. Now, you need to create a folder to place the file in and unpack it. The resulting files will be the entire data from your cPanel account (which also includes your mail in MailDir format). Now, you will find the homedir.tar and pull it out of the folder and then extract it.

Once extracted, you will see several folders that were in your home directory. In the tmp folder, you may find the statistics such as webalizer that can be opened right from your desktop. Moreover, the files you want to concentrate on, are present in /public_html.

If you use any add-on domains, then you need to move them from the public_html folder. Once you have done all this, you can then compress the public_html folder content as a .zip file. You need to do the same for each one of the add-on domains. But, remember to not delete the uncompressed copies.

Step 3: Moving files to DirectAdmin:

Next, you will login into your DirectAdmin account.

In case if you have any add-on domains or subdomains, click on the Domain setup.

After adding the domains as well as subdomains you do have, you can then click on the Files in the top menu bar. Now, you need to click on the ‘domains’ folder. You will see a list of each of your primary domain. For every domain, you would have to click into them until you reach public_html.

Now, you can select the entire files in the folder and delete them. Once you have removed it, you can click on the ‘Upload files into the current directory’ button near the bottom. Therefore, on the same page, you can select the zip file you created for the domain and upload it.

Once you upload it, you can click on the ‘extract’ link in the following row. By doing this, you will get a preview of the compressed archive’s contents. Now, as you can see my test zip, with being an OSX, there is a couple of extra files like _MACOSX and .dstore which can be deleted after the extraction. You can also see that when it is extracted, it will create a public_html folder. So, go for extracting the file.

Once it is extracted, and if the home files directories unpacked in the accurate location then you should not worry about moving anything. If your compressed file extracted into the new folder like another public_html folder, you will click on that folder. Moreover, on the top right, you have to select all the files and click on “Add to Clipboard”.

Now, go one folder back upside and click on the ‘MoveClipboard Files here’ after which you have to click on “Empty Clipboard”. So, here, you will be able to delete the extra public_html folder and the .zip file which was originally uploaded. Now, you need to repeat this step for every domain you have. You will see subdomains as a folder under the original’s domain’s name.  Therefore, if you have sub.testsite.com, it will appear as a folder named as /sub under /domains/testsite.com/public_html.

If you run a WordPress blog, you will have a good chance that your new DirectAdmin account won’t share the same username as your cPanel account. For the same reason, you would like to edit your wp-config.php file to change prefixed username_database/usr to a new username before _. You must also note the password in wp-config.php.

Step 4: Preparing your database:

Go to your extracted cPanel backup folder, you will see a MySQL folder. You will find SQL dumps of each of your database that includes horde or roundcube webmail databases.

Now, you need to login back to the DirectAdmin and click on the domain to find “MySQL Management” and click on the specific link. From here, you will click on ‘Create new database’.

You will see that the DA username is different from the cPanel username. For the password field, you need to make sure that you use the same password which your script was already using for the database. Now, you need to repeat this step for every database you have.

Note for the shell users:

If you are able to login to your account via SSH, then you can simply upload the .sql files via FTP/SCP to your home folder and from there, you can enter the following command to import your database.

mysql -utestuser_dbuser -p testuser_databasename < sql_file.sql

For your every SQL file, you can compress them as SQL files. Now, you can return to the MySQL setup screen and click on phpMyAdmin in the top left corner.

Here, you need to enter the username and password for the database which you are trying to upload. Once it is inside, click on the database you want to upload on the left. Now, you can click on the import tab and select your compressed sql file and click on the go. If everything goes well, you will see a success message on the screen which is followed by the database, showing a table count next to it.

To upload another database for a different database, user needs to click on the exit icon near the logo to be convinced for another username and repeat the process.

So, this is another way to migrate cPanel to DirectAdmin and that is, manually.

Conclusion:

In short, DirectAdmin is the cheapest control panel and is very simple and user-friendly. So, migrate your cPanel to DirectAdmin today with WGS and without experiencing any website downtime. 

If You need any assiatnace in migration contact us.

 

 

Share this
17 Jan 2020

Installing VestaCP on centOS 7 Server

Web hosting control panel are web-based interface that provide web hosting service that help users to manage their host services and servers.
Control panel with a GUI(graphical user interface) helps systems admins easily manage and monitor all hosted services client use.
Mainly used web hosting control panels are: vestaCP,cPanel,DirectAdmin,hpanel,ISPManager,ISPConfig,Plesk,Webmin.

VestaCP

Vesta control panel (VestaCP) is an open source hosting control panel,
which can be used to manage multiple websites, creat and manage email accounts, FTP accounts, and MySQL databases, manage DNS records and more

INSTALL INSTRUCTIONS

# Connect to your server as root via SSH
ssh root@your.server

# Download installation script
curl -O http://vestacp.com/pub/vst-install.sh

# Run it
bash vst-install.sh

Share this
11 Apr 2018

Installing CloudFlare plugin on cPanel server

This is a free Content Delivery Network (CDN) for your domain. CloudFlare provides a better Internet security services and distributed domain name server services, sitting between the visitor and the Cloudflare user’s hosting provider, acting as a reverse proxy for websites. CloudFlare’s cPanel plugin is also available to manage the CloudFlare account simply through the cPanel itself.

The CloudFlare cPanel plugin installation is very simple and it can be achieved within 5 minutes. This plugin integrates CloudFlare with your cPanel server. Try this and enjoy!!!

Installation Steps

Step 1. SSH to the server in which you need to install CloudFlare plugin.

Step 2. Enter the cPanel basic directory:

cd /usr/local/cpanel

Step 3. Download the tar file to your server.

curl -k -L https://github.com/cloudflare/CloudFlare-CPanel/tarball/master > cloudflare.tar.gz

Step 4. Untar the file

tar -zxvf cloudflare.tar.gz

Step 5. This will extracts a directory which includes a UNIQUE_ID. The sample format of this will be as follows:

cloudflare-CloudFlare-CPanel-w40bbb3

Here w40bbb3 is the UNIQUE_ID.

cd cloudflare-CloudFlare-CPanel-UNIQUE_ID/cloudflare

Step 6. Execute the install script in the following format:

./install_cf API_HOST_KEY mod_cf "Your Company Name"

API_HOST_KEY – You will get this from your CloudFlare panel.
Your Company name – You can give your hostname here.

How to find the API_HOST_KEY?

You can copy the API_HOST_KEY from your CloudFlare account. Please do the following steps to find out the API_HOST_KEY.

Step 1. Log into your CloudFlare account.

Step 2. Go to “My Settings”.

Step 3. Scroll down to “Global API Key”.

Step 4. Click on the “View API Key” button to see your API identifier.

Installation Steps

Step 1. SSH to the server in which you need to install CloudFlare plugin.

Step 2. Enter the cPanel basic directory:

cd /usr/local/cpanel

Step 3. Download the tar file to your server.

curl -k -L https://github.com/cloudflare/CloudFlare-CPanel/tarball/master > cloudflare.tar.gz

Step 4. Untar the file

tar -zxvf cloudflare.tar.gz

Step 5. This will extracts a directory which includes a UNIQUE_ID. The sample format of this will be as follows:

cloudflare-CloudFlare-CPanel-w40bbb3

Here w40bbb3 is the UNIQUE_ID.

cd cloudflare-CloudFlare-CPanel-UNIQUE_ID/cloudflare

Step 6. Execute the install script in the following format:

./install_cf API_HOST_KEY mod_cf "Your Company Name"

API_HOST_KEY – You will get this from your CloudFlare panel.
Your Company name – You can give your hostname here.

How to find the API_HOST_KEY?

You can copy the API_HOST_KEY from your CloudFlare account. Please do the following steps to find out the API_HOST_KEY.

Step 1. Log into your CloudFlare account.

Step 2. Go to “My Settings”.

Step 3. Scroll down to “Global API Key”.

Step 4. Click on the “View API Key” button to see your API identifier.

mod_cf is optional. If set, the installer will also try to install mod_cloudflare

That’s it!!! Now, you will be able to see an icon for “CloudFlare” in all your cPanel accounts.

cloudflare

Sample Output for a successful installation:

info [verify_api_spec_files] LoadFile
Done
Register Complete

==> mod_cloudflare: Installed successfully.
==> You may need to customize your EasyApache profile to include Mod CloudFlare

CloudFlare module installed successfully.

In some cases, if you see the output as :

Your HOST_KEY (d892a17e61de5caa062302d54714eb39e4d42) is invalid.

If you see this error, please contact CloudFlare support and ask for valid Host key.

That’s it 🙂

Share this
27 Mar 2018

Adding a DNS Zone in cPanel/WHM Server

cPanel/WHM is very efficient when it comes to DNS management. You can setup a DNS zone with just a few clicks. When a website is created in WHM, a DNS zone is also created in WHM. Additionally, you can create DNS zones in WHM without adding a website.

This tutorial will briefly walk you through adding a DNS zone in WHM.

Step 1: Logging in to WHM

Being able to manage DNS zones requires access to WHM. Simply go to http://YourHostname:2087 and enter your login information. If this is your first time logging in, you can get started with the One-Click cPanel guide.

Step 2: Adding a DNS zone

On the left-hand navigation menu, find “DNS Functions” and click “Add a DNS Zone”.

cpanel_1a.png

Under “Domain Information”, enter an IP address and a domain name. The IP address entered here will be used for the A records and other default records. In this example, 1.2.3.4 is the IP address, and example.com is the domain name. Click the blue button labelled “Add Zone” to add the DNS zone.

The zone will now be created. Pay close attention to the output. Upon success, it will read similar to the following:

Results of adding zone example.com

Zone created successfully for IP 1.2.3.4.
Zone is owned by system.

You can now view and edit the DNS zone by clicking “Edit DNS Zone” (from the left-hand navigation menu), choosing a zone, and clicking “Edit”. A default zone will look like this:

cpanel_2a.png

You can add new entries by entering record information under “Add New Entries Below this Line”. Click “Save” to add them.

Step 3: Removing a DNS zone

You can remove a DNS zone by clicking “Delete a DNS Zone” (from the left-hand navigation menu), choosing one or more zones, and clicking “Delete”.

cpanel_3a.png


Testing zones on your DNS server

The Linux dig command is a tool for performing DNS lookups. You can test zones that were added to your DNS server by specifying the IP address of your DNS server when performing a lookup.

dig @1.2.3.4 www.example.com

...
;; ANSWER SECTION:
www.example.com.        14400   IN      CNAME   example.com.
example.com.            14400   IN      A       1.2.3.4
...

Using this DNS server on the internet

For a DNS zone hosted on your cPanel/WHM server to become publicly available on the internet, the owner of the domain must set the nameservers of the domain to point at your cPanel/WHM server. The nameservers are set at the registrar (where the domain was purchased). Each registrar has their own interface for managing domains and nameservers.

If you are planning to use this server to host DNS for your own domain name, you will also need to specify glue records at your registrar. Glue records solve the problem of a looping condition during DNS lookups. For example, if you own example.com, and your cPanel/WHM server is ns1.example.com, you would need to setup glue records. Again, each registrar has their own interface for managing these records.

Share this
19 Mar 2018

Installing and configuring ClamAV for cPanel server

WHM comes with a free, pre-installed version of clamavconnector (Clam antivirus) that is not activated by default.

Activate it by following this procedure:

  1. Connect to your WHM interface as root.
  2. On the home page, click on the cPanel link (icon).
  3. Click on “Manage Plugins”.
  4. Select the box “Install and keep updated” in the corresponding section to clamavconnector.
  5. Click on save at the bottom of the page to confirm the installation.

WHM will then download the necessary packages for clamavconnector and will install it automatically,  this may take a few minutes.

Once the installation has been completed, you will have a virus scan link in your cPanel interface.

Please go through the relevant screen captures:

clamav.png

clamav2.png

clamav3.png

That’s it !!!

Share this
15 Mar 2018

How to install nslookup, dig, host commands in Linux

That can’t do moment we face when we are trying to check if the website is pointing to correct IP and the nameservers which are authoritative for our servers are added correctly at the registrar end. A newly installed machine will not have dig, nslookup, host commands. So we have to manually install them on our servers. All these commands are included in a package called “bind-utils”. But different OS have different package names. I will be doing everything as root user, if you don’t have root privileges then you just have to add sudo before every command.

Installing is pretty straight process by the way.
My ubuntu sources list

root@serversupportz:~# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu lucid main
deb http://archive.ubuntu.com/ubuntu lucid-updates main
deb http://security.ubuntu.com/ubuntu lucid-security main
deb http://archive.ubuntu.com/ubuntu lucid universe
deb http://archive.ubuntu.com/ubuntu lucid-updates universe

In ubuntu systems it is “dnsutils”

 

root@serversupportz:~# apt-get update
root@serversupportz:~# apt-get install dnsutils -y

In RHEL/Centos it will be bind-utils

root@serversupportz:~# yum install bind-utils
Share this
01 Mar 2018

Resource temporarily unavailable

OpenVZ is a container based virtualization technique for Linux. OpenVZ creates multiple secure, isolated Linux containers (otherwise known as VEs or VPSs) on a single physical server. Each container performs and executes exactly like a stand-alone server; a container can be rebooted independently and have root access, users, IP addresses, memory, processes, files, applications, system libraries and configuration files.

Here I explain a fix for the error “Resource temporarily unavailable” while switching user in OpenVZ based servers.

Error details

# su -
Password: 
su: cannot set user id: Resource temporarily unavailable

Solution

Edit (add) or change the following values in /etc/security/limits.conf

# vi /etc/security/limits.conf
-------------
*          soft     nproc          2047
*          hard     nproc          16384
*          soft     nofile         1024
*          hard     nofile         65536
-------------

It should be okay now!

Please try to switch now and let me know if you have any questions.

Share this
22 Feb 2018

How to enable Varnish in cPanel server

Varnish is a caching technology. Varnish is a web accelerator and also referred as HTTP accelerator or reverse HTTP proxy, which will significantly enhance the performance of your website. Varnish cache is really fast thereby, speed up the delivery depending on your architecture.

Varnish enhance your website’s performance. Varnish stores a copy of the page which is served by the web server the first time a user visits the website. Next time, when the user requests for the same page, varnish will serve the copy instead of serving it from the web server. Thus, your webserver needs to handle only less traffic and there by increase the website performance and also reduce the server load.

 

Working of Varnish Cache

Once Varnish is installed in your server, it will listen in the port 80. Make Apache to listen in any other port other than 80. When a client requests for a page in your website, Varnish will try to serve the page from its cache memory. This is cache hit. If the page is not in its cache memory, then Varnish will request to HTTP (Apache) to serve the page and caches it for future reference.

Features of Varnish

1. Reduces the server load
2. High speed (cache + stored in RAM)
3. Useful to gain more visitors

Installation

1. Make Apache listen in any other port other than 80. Here I am making Apache to listen in port 8080. It can be done in two ways. Either editing the httpd.conf file or editing the Tweak settings in WHM

a) Editing httpd.conf file

# vi /usr/local/apache/conf/httpd.conf

Locate the following line in /usr/local/apache/conf/httpd.conf file and change the port from 80 to 8080

Listen 0.0.0.0:80

Once edited, the Apache config file for “Listen” should be as follows:

# grep -iw listen /usr/local/apache/conf/httpd.conf
Listen 0.0.0.0:8080

OR

b) Editing WHM – Tweak settings

WHM > Tweak Settings > Apache non-SSL IP/port

Set the port to 8080 and save the settings.

# grep VARNISH_LISTEN_PORT /etc/sysconfig/varnish
VARNISH_LISTEN_PORT=80

5. Edit Varnish config: /etc/varnish/default.vcl . Correct the IP address in this file to your IP address and port to 80

backend default {
  .host = "YOUR IP ADDRESS";
  .port = "80";
}

6. Start Varnish service on your server

# chkconfig varnish on
# service varnish start
# service varnish start
Starting Varnish Cache:                                    [  OK  ]

That’s it!!

You can check this by using the netstat command.

#netstat -plan | grep :80

Example:

# netstat -plan | grep :80
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      15129/varnishd      
tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      12897/httpd        

Now, you can start monitor your Varnish with varnishstat

 

If you need to change your Varnish configuration file and you can test the configuration before restarting Varnish service by

# varnishd -C -f /etc/varnish/default.vcl

Note: While doing “yum install varnish” if you are getting libedit error, then follow the steps below:

varnish-3.0.5-1.el5.centos.x86_64 from varnish-3.0 has depsolving problems
  --> Missing Dependency: libedit.so.0()(64bit) is needed by package varnish-3.0.5-1.el5.centos.x86_64 (varnish-3.0)
Error: Missing Dependency: libedit.so.0()(64bit) is needed by package varnish-3.0.5-1.el5.centos.x86_64 (varnish-3.0)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

In this case, you need to install the libedit rpm which is suitable for your architecture. You can find the rpm from http://rpmfind.net/linux/rpm2html

# wget ftp://rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/libedit-20090923-3.0_1.el5.rf.x86_64.rpm
# rpm -ivh libedit-20090923-3.0_1.el5.rf.x86_64.rpm

Example:

# rpm -ivh libedit-20090923-3.0_1.el5.rf.x86_64.rpm
warning: libedit-20090923-3.0_1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:libedit                ########################################### [100%]

Done!!!

Share this
21 Feb 2018

How to create MySQL database and user from command line

This is actually the base of MySQL command usage. By the help of a control panel we can simply create a database, create DB users, edit variables, set previeages etc. But in some situations it is necessary to manage these MySQL options via command line. Here I am explaining the commands for creating database and database user form command line.

Enter the mysql prompt by following the step below:

# mysql -u root -p

It then prompts for password. Enter the MySQL root password.

Example:

root@serversupportz[/]# mysql -u root -p
Enter password:

MySQL command to create a DB(Database).

mysql> CREATE DATABASE name_of_the_database;

Example:

mysql> CREATE DATABASE serversupportz_wp;
Query OK, 1 row affected (0.04 sec)

You can verify it by:

mysql> SHOW DATABASES;

MySQL command to create a DB user.

mysql> CREATE USER name_of_the_database_user;

Example:

mysql> CREATE USER serversupportz_wp;
Query OK, 0 rows affected (0.07 sec)

You can find out the details of all users from mysql.user file:

mysql> select user from mysql.user;
mysql> select host, user, password from mysql.user;
mysql> select * from mysql.user;

Access the database

mysql> use name_of_the_database;

Example:

mysql> use serversupportz_wp
Database changed

That’s it 🙂

Share this
15 Feb 2018

How to Migrate Email from cPanel to cPanel

When transferring accounts between servers, transferring of email accounts is quite different. Transferring data from one server to another is technically called migration even if it is full website or email accounts or databases. When you perform a full website migration of a cPanel account, you do not need to migrate the emails manually. The cPanel transfer will migrate the email accounts also. As we know, there can be DNS propagation after a DNS change when you migrate your website. In the DNS propagation time, some of the emails coming to your email address may be directed to the old server and some of them to the new server. It should be ensured that you do not loss any valuable emails. This is what makes the email migration different from other migrations. Let’s see how the email account transfer is done for both cPanel and non-cPanel accounts.

Email Migration

Email migration can be performed in two ways. You can either utilize the cPanel interface or use the command line prompt.

In this article we are going to take a look on how to perform the migration in cPanel in order to navigate this process.

Follow the ensuing steps below:

Step 1: Backing up email directories

The first step in the email migration is to backup email directories present in the old server.

1) Login to cPanel interface for the account in question in the old server.

2) Open ‘File Manager’ under the section ‘Files’.

 

 

3) Go ‘Up One Level’ above public_html.

 

 

4) You can see the mail directory there. Enter into the directory.

 

 

5) Right click on the directory and click on the option available to compress the directory.

6) Now, download the compressed file to your computer.

Step 2: Restore email backups

1) Login to the cPanel interface of the new server.

2) Create the email accounts just as you did in the old server. You can create email accounts from the ‘Email Accounts’ section under the ‘Mail’ category.

3) Open ‘File Manager’ under the section ‘Files’.

4) Go ‘Up One Level’ above public_html and you can see the mail directory there. Enter into the directory.

5) Upload the email backup file to the directory.

6) Unzip the backup file and the delete the zip file.

7) Open Webmail and configure it to display the new email folders.

If you need any further assistance please contact our support department.

Share this

©2018 Tranzmedia Netvision Limited. All Rights Reserved.

Click Me