The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Migrating 300 web sites to cPanel server

Discussion in 'General Discussion' started by babakb, Feb 6, 2007.

  1. babakb

    babakb Well-Known Member

    Joined:
    Jan 20, 2007
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    I'm planning on moving over roughly 300 web sites to my cPanel server over the next few weeks. I plan on moving the web sites in four stages. Can someone review the steps as planned below and let me know if there is anything wrong with this plan?

    Step 1. Setup a new account for each domain on the cPanel server and point the A records to the IP address for each domain on the old servers (each account there has a dedicated IP). Lower the TTL's to 10 min.

    Step 2. Change my private nameservers to point to the cPanel server. After this change, all domains should continue to point to their account on the old servers without any downtime.

    Step 3. Start migrating web sites. After each migration, change the A record for that domain to point back to the cPanel server.

    Step 4. Close down the old servers.

    I'm nervous about Step #2 because if there are any problems with the 'A Record' forwarding then all sites will be down.

    Any thoughts?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Is it A cpanel server to cpanel server migration ?
     
  3. babakb

    babakb Well-Known Member

    Joined:
    Jan 20, 2007
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    No. It's a standard linux server. I've already spent quite a bit of time preparing for the move of the actual web sites. I've wrote some scripts to automate the moving of the files.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    edit: looks good to me
     
  5. freedman

    freedman Well-Known Member

    Joined:
    Feb 13, 2005
    Messages:
    312
    Likes Received:
    1
    Trophy Points:
    18
    I dont think this would be that big a problem. as long as your cpanel reports the address you want for name lookups, then it will continue to do so after you move things.

    the only concern with this scenario you laid out is that you also want to freeze any updates to the old version prior to the move.
    any uploaded/changed/delted files or database data from the time you start the move to the time you change the A pointers to the new server may or may not appear in the first one..

    so.. if any of these run 'dynamic' sites, then you may need a step inbetween 2 and 3.
     
  6. babakb

    babakb Well-Known Member

    Joined:
    Jan 20, 2007
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Yes, I'll probably suspend the accounts right after migrating each site and changing the A record to point back. With a TTL of 10 mins, I think suspending the account on the old server is the best solution to address this issue.
     
Loading...

Share This Page