InMotion Hosting Support Center

cPanel provides a tool that you can use to transfer from cPanel to cPanel, from one server to another. This is a very powerful tool in that it makes moving from one cPanel server to another into a very simple process. Keep in mind that any configuration files that are affected by the change will still need to be changed. This tutorial walks you through the steps for the transfer process.

How to Transfer from cPanel to cPanel using the Transfer Tool

  1. Login to the WHM.
  2. cPanel Transfer Tool

    In the menu at left, search for and then click on Transfer Tool. You will see several options that you will need to select or fill in. They include:

    Remote Server address You will need to provide the URL of the account you are transferring from
    Remote SSH port By default this is set to 22. Change it only if necessary.
    Select the user type for LoginThis can be either the root user or an account user. You will need the root user if you're moving multiple accounts, of course.
  3. Root user

    Root Password - Add the root password so that the root user can be used for authentication. If you're using the root user, then make sure to leave Restricted Restore unchecked.

  4. Once all of the information has been selected and added for the Remote Server Information and Authentication, click on Fetch Account List.
  5. Compare cPanel versions

    The Transfer Tool will compare the versions of cPanel and display it for you. You will not need to select anything for the versions.

    Available packages

    You will also see a screen listing the available Packages. You do not need to select anything on this screen either.

    Select account for transfer

    You will then get the ability to search for the account you want to transfer. You simply need to leave all of the options checked except Express Transfer.

    After you have finished selecting the accounts you want to transfer, click on the blue button labeled Copy.

  6. Transfer tool copies accounts from old server

    At this point the Transfer Tool will begin the transfer for you. The initial transfer process should be relatively quick, but the processing period may last a while based on the size of your account.

    Additional options-Keep DNS Zone

    When the processing is complete, you will see Additional Options. The Keep DNS Zone would need to be unchecked UNLESS your servers are in the same DNS cluster. If you have any doubts, then please consult with our live technical support team or the Managed Hosting team.

After the Transfer is Completed

At this point, the accounts should all be transferred over to you. You may still need to re-configure configuration files, clear cache, reset permalinks, set DNS settings, re-point name servers, etc. but the selected accounts should have transferred. Once you have completed your re-configuration and your testing of the moved accounts, then you can begin to close down your old server accounts.

Note that you will require root access, and the PHP version to be 5.5, or newer in order to use these directions.

This tutorial will quickly explain how to install Zend OpCache on your dedicated server. This guide requires you to be logged into your server with the root user, and the PHP version to be 5.5 or newer.

Installation

  1. Log into your server as the root user.
  2. Run the EasyApache script.
    /scripts/easyapache
  3. If you are not installing Mod RUID2 or changing Apache versions select Customize Profile.
  4. Select Next Step on the Apache section.
  5. Select Next Step on the PHP section.
  6. Select Exhaustive Options List when you get to the modules section.
  7. Scroll down below PHP 5.x continued to find Opcache. Hit your spacebar to select the module and you should see and X in the brackets. After you do this choose Next Step.
  8. Select Save and Build.
  9. You will need to confirm what you are doing by selecting Yes to rebuild apache.
  10. Another prompt will show up asking you to acknowledge you understand the changes being made to the server, you will need to select I Understand before the program will continue.

Configuration

  1. Run the following red command to confirm Opcache has been installed.
    root@dedicated [~]# php -m|grep cache
    Zend OPcache
  2. Edit your php.ini file to add the following line at the bottom.
    zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20121212/opcache.so"

Now your PHP scripts will get cached so they can be provided to visitors during the intial page loading. This caching engine can increase your page load speed to to 75% faster.

Note that you will need root access in order to use these directions.

In this tutorial:

This guide will briefly go over how to install and configure Varnish Caching. Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture. Please keep in mind that this is a fairly advanced section and does require you to use root access to perform any actions described. Also know that unless you pay for a plugin to do so you can not control varnish from the WHM interface.

Preparation

This will get Apache ready which should be done prior to the installation to avoid port conflicts.

  1. Log into your servers command line interface as the root user.
  2. Edit the following file.
    vim /var/cpanel/cpanel.config
  3. Look for the line "apache_port" and change it to the following then save the file.
    apache_port=0.0.0.0:8081
  4. Run this command to update the settings.
    /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings

Installation

This section will show you how to install Varnish 3 onto your dedicated server.

  1. Check what version of CentOS you are running by entering the following command.
    cat /etc/centos-release
    CentOS release 6.7 (Final)
  2. Run the following commands to add the Varnish repositories to your server (Please use the correct command for the current version you are running.).
    CentOS 6 - rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm

    CentOS 5 - rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release/varnish-release-3.0-1.el5.centos.noarch.rpm
  3. Install Varnish via yum.
    yum install varnish

Configuration

  1. Edit the following file.
    vim /etc/sysconfig/varnish
  2. Add the following lines to the bottom of the file (After the # DAEMON_OPTS="" line).
    DAEMON_OPTS="-a :80 \
    -T localhost:6082 \
    -b localhost:8081 \
    -u varnish -g varnish \
    -s file,/var/lib/varnish/varnish_storage.bin,2G"
  3. Save the file.
  4. Restart the following services for the changes to take affect.
    service varnish restart
    service httpd restart

This configuration does the following:

  1. Listen on all IP addresses on port 80
  2. Set the administrative interface on port 6082 (the default)
  3. Forward requests to localhost on port 8081 (Apache server we changed earlier)
  4. Set the user/group for child processes to varnish:varnish
  5. Use the file storage mechanism at /var/lib/varnish/varnish_storage.bin and use only 2GB for the file.

In this tutorial:

In this tutorial, we will show you how to connect to your server via SSH. This will allow you to interface with your server via Command Line Interface (CLI). First, we will show you how to add your IP address to the firewall to allow you to access your dedicated server. Then we will show you how to connect with both PuTTY, and Terminal.

1. Add your IP to the firewall

  1. Look up your IP address. Write it down so you have it for later use.
  2. Login to WHM.
  3. Type firewall in the search box, then click the Add IP to Firewall link in the navigation menu.
  4. In the Allow Rule field, enter your IP address.
  5. Click the Add Rule / Restart button.


  6. You are finished when you see a message stating "Your IP(s) have been added, and APF is being restarted."

2. Connect using PuTTY or Terminal

After adding your IP address to the firewall, you can connect to the server using a client (such as PuTTY), or directly in terminal (if you are a Linux, or Mac user). This section includes guides for both PuTTY and Terminal.

Connect Using:

Connecting to your Dedicated Server via PuTTY

  1. Download and Install PuTTY.
  2. In the Host Name (or IP address) field, enter your domain name, or the <>IP address of our Dedicated server.
  3. Click the Open button.
  4. You will see a PuTTY Security Alert, click the Accept button.
  5. When the login as message comes up, enter your username (cPanel username, or root), then click the Enter key.
  6. Enter your cpanel password (or root password if you are conecting as the root user), then click the Enter key. The password will not show when you type it.

Connecting to your Dedicated Server via Terminal

  1. Open the terminal on your computer.
  2. Type ssh, followed by a space. Then your username, followed by the '@' symbol, and your domain (or IP address) for the hostname and hit the Enter key. For example:

    ssh username@example.com

  3. If you see a message stating "Are you sure you want to continue connecting" type yes, then click the Enter key.
  4. You will then be prompted to enter your password. Type your password, then click the Enter key to connect. The password will not show when you type it.

Congratulations, now you know how to connect to your server via SSH!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

   
Social Login Joomla

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!