Skip to main content

How migrate cPanel&WHM on new hardware?

Comments

32 comments

  • ffeingol
    Yes, it's called the cPanel system requirements)
    0
  • quietFinn
    You can't install cPanel in Red Hat 9:
    0
  • Elizabeta
    Hello, Thank you all for your answers! We have to install new machine with CloudLinux 8, Rocky Linux or AlmaLinux 8 then migrate cPanel accounts on this new machine. Which operating system do you recommend, which is more similar to Red Hat? Which operating system is recommended to install for cPanel&WHM? cPanel Transfer Tool helps us to migrate also DNSonly? Best regards, Elizabeta
    0
  • quietFinn
    Which operating system is recommended to install for cPanel&WHM?

    At the moment I'd recommend AlmaLinux 8/CloudLinux 8.
    cPanel Transfer Tool helps us to migrate also DNSonly?

    No, and there is really nothing to migrate, set it up, connect to the cluster and that's it :rolleyes:
    0
  • Elizabeta

    Hello,

    I have one more question about existing license for cPanel. When I install a new os on new hardware what ip address should I put (I guess new)?
    Which license can I choose? Do I also transfer the existing license from old hardware to a new hardware?

    Best regards,
    Elizabeta

     
    0
  • cPRex Jurassic Moderator

    Our team would be able to issue you a temporary license for 15 days while you perform the migration.  Once everything is moved over to the new machine you could order a full license for that system and cancel the license on the old machine.  There is no link between the licenses of the machines at all.

    You would use the main IP of the server when ordering the license.

    0
  • Elizabeta

    Hello,

    So, when I install cPanel on new machine (new hardware) then I should use new IP address? And ask cPanel for temporary license? Also I must use new IP adress on new another machine for DNS Only?
    When the account migration is complete then I should order a full license for that system and cancel the license on the old machine?

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    That is all correct.

    0
  • Elizabeta

    Hello,

    I must ask one more question.
    So, when I install cPanel on new machine (new hardware) and DNS Only on other machine then I should use new IP address on both machine. And ask cPanel for temporary license for 15 days.
    When the account migration is complete, I must shut down old server (source) and on new server change IP address (put again IP address of the source).
    My question is:
    Will I automatically get the already existing license from cPanel back or do I have to ask for a new license again?

    Thank you!

    Best regards,
    Elizabeta

     



    0
  • cPRex Jurassic Moderator

    You would only need to do that if you plan to move the IP address to the new machine.  Most users don't, and just continue with the new IP.

    The license *could* potentially lock if it gets moved to a new IP as part of a fraud detection system, but a quick message to our Technical Support or Customer Service teams would take care of that.

    0
  • Elizabeta

    Hello,

    We plan to move the IP address to the new machine, new hardware with new OS, because old OS is RedHat. So, IP address remains same.
    First, I must get Trial licence on target server, but when migration is complete, old source server shut down, I change IP address on new target machine (same IP address like before migration), what about the license. Will the old license be valid?

     



     

    0
  • cPRex Jurassic Moderator

    The old license will still be valid as the licenses are IP-based.  You'll just need to run the following command to force a license update:

    /usr/local/cpanel/cpkeyclt

    and then be prepared to contact us if it doesn't refresh.

    0
  • Elizabeta

    Hello,

    cPRex thank you!

    Best regards,
    Elizabeta

    0
  • Elizabeta

    Hello,

    So, first I must install cPanel& WHM on target server. On source server there is cPanel version 110.0.24.
    I read that "The replacement cPanel & WHM server should contain identical software to the old source server". How can we install cPanel version 110.0.24 on target server?
    I read installation guide and command is "

    To install cPanel & WHM on your server, run the following command:
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

    Also, I read that I should have Alma Linux 8 for version cPanel under 114. Is this correct?

     
    0
  • cPRex Jurassic Moderator

    You should install the latest stable version of cPanel, which is 118 right now.  That will work just fine for the migration.

    0
  • Elizabeta

    Hello,

    I read documentation https://docs.cpanel.net/knowledge-base/transfers-and-restores/how-to-move-all-cpanel-accounts-from-one-server-to-another 
    There are instruction ""The replacement cPanel & WHM server should contain identical software to the old source server"
    So, now my cPanel&WHM are on version 110.0.24 . Which version of cPanel can I use on the target server? You said that I should use latest 118 version??

    Best regards,
    Elizabeta

     
    0
  • Elizabeta

    Hello,

    To confirm, I should do migration of cPanel accounts from one hardware to another newer hardware.

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    Yes

    0
  • Elizabeta

    Hello,

    I did not understand, If is my cpanel version 110.0.24, which cpanel version I should install on target server (the migration cpanel will be done to that target server)?
    In documentation there is : "The replacement cPanel & WHM server should contain identical software to the old source server. This includes MySQL® or MariaDB®, PHP, PHP extensions, Apache®, Apache extensions, and other software options..."

    Best regards,
    Elizabeta


    0
  • cPRex Jurassic Moderator

    You can install version 118.  it will be just fine.

    0
  • Elizabeta

    Hello,

    Thank you cPRex! So, this sentence from documentations : "The replacement cPanel & WHM server should contain identical software to the old source server. This includes MySQL® or MariaDB®, PHP, PHP extensions, Apache®, Apache extensions, and other software options..."
    means that I can install cPanel 118, but I must install same version of MySQL, PHP, PHP extensions, Apache, Apache extensions like on old server?

    BR,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    It doesn't mean you *have* to install the same versions, but it means that you could run into compatibility issues if you don't.

    0
  • Elizabeta

    Hello,

    Thank you very much! I have noticed that my MySql version is 5.7, so I must first upgrade MySql on newer version on old cPanel server and continue process of migration.

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    It would be ideal if the MySQL versions matched, yes.

    0
  • Elizabeta

    Hello,

    I have one more question:
    I have installed Alma LInux 9, now I will install cPanel&WHM, then migrate accounts from the old hardware to the new hardware (new cPanel&WHM).
    What happens to configuration files? Will they also transfer with user accounts? Or will I have to manually adjust the configuration files on the new hardware as I did on the old one?

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    The Transfer Tool can also migrate certain server configurations.  Details on which ones it can move for you can be found here:

    https://docs.cpanel.net/whm/transfers/transfer-tool/#service-configurations

    If you have anything outside of that list, that would need to be adjusted manually on the new server.

    0
  • Elizabeta

    Hello,

    Thank you cPRex for your answer.
    At the moment we installed cPanel with Alma Linux 9, and DNS Only with Alma Linux 9. We just configured DNS Cluster with API Token.
    I have a few questions:
    Before migrating the account should I just install DNS Only without DNS Cluster?
    Coul you send migration steps related to DNS?

    Best regards

    0
  • cPRex Jurassic Moderator

    I wouldn't do anything special in regards to migrating the account - can you let me know what issues you're seeing?

    0
  • Elizabeta

    Hello,

    Thank you for your answer. Please, is there any documentation link for migration cPanel accounts to another hardware (The IP address at the end of the migration remains the same as the source cPanel) ?

    Best regards,
    Elizabeta

    0
  • cPRex Jurassic Moderator

    I don't have any specific details on my end about changing the IP address, as that is up to you and your hosting provider to configure, but the Transfer Tool will handle everything related to the cPanel accounts.

    0

Please sign in to leave a comment.