Copy account from Cpanel host to a non-cpanel host - how?

Discussion in 'Site & Server Administration' started by RaceDirector, Jun 8, 2010.

  1. #1
    Hi all

    I currently have a VPS with Cpanel/WHM but I will moving to a non-cpanel/WHM VPS. When I originally moved from my shared host to my VPS I just used the cpanel transfer option. However, with the new VPS not having cpanel/WHM, I can't do that.

    So, what is the best way to duplicate the account on my old VPS to my new VPS?

    Any help appreciated

    Cheers
     
    RaceDirector, Jun 8, 2010 IP
  2. inoxhost

    inoxhost Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will have migrate everything manually. First of all, you will have to learn file structures of both control panels. Where emails are stored, where your data files are stored. Let's consider, your new server has plesk control panel. While migration you will move all your files that are stored in public_html on your cPanel server to /var/www/vhosts/domain.com/htdocs on plesk server.

    Thx
     
    inoxhost, Jun 8, 2010 IP
  3. RaceDirector

    RaceDirector Active Member

    Messages:
    122
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Thanks inoxhost

    The new VPS will have no control panel at all, it is purely for my sites and will not be supporting other peoples sites. I have considered using Webmin or ISPConfig initially to get things setup and then remove them. My primary purpose for doing this is to gain the ability to customise my version of PHP and to dump Apache - something not possible on WHM/CPanel. As I am on a smallish VPS, I want to limit any resource hungry additions as well.

    So, it looks like a manual job.... would using rsync help in the beginning?

    Cheers
     
    RaceDirector, Jun 8, 2010 IP
  4. inoxhost

    inoxhost Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yep, it will be absolutely manual job. And yes, you can rsync all your data over to new server and then can start restoration process. Before restoration, you should check apache, mysql php etc etc versions, both server should have same version of these modules.
     
    inoxhost, Jun 8, 2010 IP
  5. RaceDirector

    RaceDirector Active Member

    Messages:
    122
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    70
    #5
    Thanks, at least I know what I am in for :) The VPS will be with the same company so version info should be OK, will double check to make sure. Off now to figure out what Cpanel/WHM install with regard to applications (exim etc) so I can duplicate that too.....

    Cheers
     
    RaceDirector, Jun 9, 2010 IP
  6. sysadmin

    sysadmin Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    if the vps will be in same company you need to check mysql versions and php settings too. There will be sendmail by default . You can remove sendmail and then install exim ,

    # yum -y remove sendmail
    # yum -y install exim .
    But you need to install thinks like imap/pop3 services , etc,. if you really need emails of your domain
     
    sysadmin, Jun 9, 2010 IP
  7. RaceDirector

    RaceDirector Active Member

    Messages:
    122
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    70
    #7
    Aha, thank you, I was wondering about exim. Basically I want to ensure I have the same base packages on the replacement VPS so I don't run into unforeseen issues. I currently have dovecot as the POP3/IMAP provider so will install that again as well. I am hoping to retain functionality like webmail (squirrelmail) for my 3 sites as well, my wife and kids use that frequently. Aside from that it will just be getting BIND setup, iptables setup (will probably use AFP) users from the old box, sites transferred and the webserver/php customised plus have the nameservers reset and the server "hardened" and all should be good :) Lotsa reading happening right now, might need to get some sleep before I go into overload!
     
    RaceDirector, Jun 9, 2010 IP