Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    12

    Question Seamless Server Migration?

    I need to move a few accounts from a server to another (IP address changes).

    How would I got doing that?

    Would modifying the DNS Zone files for the corresponding account do it?

    e.g.: I recreate the account on the new server, and restore a full backup. Then on the old server, I lower the TTL and change all A records to point to the new IP address.

    Will that work? Other suggestions? I do not wish to move all the accounts.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You can simply copy the tarball from a full backup on the old server to the new server and restore that. Then change the IP address in the zone file where the domain is currently pointing to the new servers IP address. If the zone needs to follow to the new server, then you'll need to modify the domains nameservers too, though it's probably best to do that before or after moving. I'm not much of a fan of lowering TTL's. You can try it, but many ISPs DNS caching servers these days will ignore a TTL set below 24 hours, so it's often a moot point.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    12

    Default

    Would this be possible without changing the NS IPs at the registrar? I don't want to move everything.

    domainname.com -> ns1, ns2 (server1) -> server1 zone point to server2 -> account on server2

    Thanks, I'm have to admit I don't know everything yet when it comes to DNS.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Yes, you can do that, i.e. leave the nameservers on the original server and update the domain's zone file that you're moving to point to the IP on the second server.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    how long would it take to see the domain appear on the new server if you ipdate the IP on the old server.

    Shouldn't that take affect almost immediately?
    -Albert

  6. #6
    Member tuxdesk's Avatar
    Join Date
    Oct 2005
    Posts
    86

    Default

    Chirpy have explained all things regarding your doubts. If the domain was already pointed to new server it will appear no time
    Last edited by tuxdesk; 10-14-2005 at 10:37 PM.
    Tux
    Aim : tuxdesk
    Msn : tuxdesk@hotmail.com
    Yahoo: tuxdesk@yahoo.com

    __________________________________________________
    "You don't slow down because you get old; you get old because you slow down."

  7. #7
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    that is what I thought but I just tried it on a domain and do not see it on the new server.

    I modified the index.html on the old server and I see my modification.

    WHM -> Edit DNS Zone

    then changed all the IP's to the new Server's IP's
    Last edited by asmithjr; 10-14-2005 at 10:37 PM.
    -Albert

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you have done it correctly, it will take as long as any DNS propagation, i.e. usually up to 72 hours.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    yes, it started working this morning, (less than 24 hrs)

    I was just thinking it would be immediate since the DNS points to the old server and the old server tells the new IP address.


    Thanks
    -Albert

  10. #10
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Good stuff

    The reason for the delay is that other DNS servers cache the domain's information locally for a period of time (usually based on the TTL in the zone file, but not always) and so those records have to expire before they go and get the new DNS information from your server again. It's this that causes the "delay" in the IP address changing and is what is called "DNS propagation".
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 06-29-2011, 04:56 AM
  2. 500 Internal Server Error - Server Migration
    By thorny23 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-31-2010, 05:44 PM
  3. Seamless way to change IP on website
    By control1110 in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 12-03-2009, 01:01 AM
  4. Seamless way to change IP on website ??
    By wosiho99 in forum New User Questions
    Replies: 5
    Last Post: 10-28-2009, 09:12 PM
  5. Is 'seamless' copying of hosting accounts possible, including email?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-22-2006, 09:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube