Skip to main content

Migration to another datacenter with same hostname

Comments

5 comments

  • vanessa
    So, what I would do is: 1) Set the zone TTLs down to 5 minutes at least a day in advance 2) Set up your nameservers on the new server and re-point them with your domain registrar, then cluster your old server to your new server. This means your new server will start serving the zones while the domains still point to the old server 3) Use the WHM migration utility to move the accounts over. The DNS will automatically update as long as the domains are using ns1.myhostname.com, etc. 4) Update the A-record for your server's hostname to point to the new server 5) Set the zone TTLs back to 4 hours, if you want.
    0
  • cPanelMichael
    Since the server has ~100 accounts, I want to move only 5 accounts to test for one month, and then move others. In these 5 accounts, I'll change DNS manually on the registars.

    Hello @Rogerio, The previous post is a good plan of action. However, note you're going to want to setup a different hostname for the new server if you plan to run both servers at the same time (even if it's just for a month). You could use something like "server2.host.tld" on the new server for the first month, and then switch it over to the original hostname when you are ready to shut down the source server. Thank you.
    0
  • Rogerio
    Hello Vanessa and Michael, thank you for the ideas. I had problems in the past changing the server's hostname in cPanel, specially with Munin, that I use a lot. Since this new server will be our main server, I prefer keep the settings in a "final situation" and avoid problems when the server goes to production mode. But Vanessa idea gave me another idea. Move the test accounts to the new server, using Transfer tool, and just change the old server DNS zones to point to the new IP. This will avoid change the hostname's IP and the hostnames that I use to DNS registers. After the tests, I'll move everything and just change the hostname's IP, and the new server will respond automatically in the same IP. My main concern now is, during the tests, emails being refused because were sent from the new server, with "HELO hostname" but the hostname is still in the other IP... I'll need to test... Thanks (sorry for my limited english)
    0
  • ExpertWebWorld
    hi i am facing the same problem i migrated to new location l1.domain.com . To do this i taken backup into other hostname b.domain.com . After migration complete i transfer from backup b.domain place to new location l1.domain.com. we facing problem about email . Sending email is ok but when receving nothing happend. Even sender get the error about b.dom.com deliver id host b1.domain.com [**.**.**.**] SMTP error from remote mail server after RCPT 550-Please turn on SMTP Authentication in your mail client. but domain is now on l1.domain.com. website working fine. just email not receving due to above error. check the A, MX, TXT records all is fine. why its showing old b1.domain.com, where i can change it . all dns point to l1.domain.com .
    0
  • andrew.n
    Thee error is there: 550-Please turn on SMTP Authentication in your mail client. You don't have SMTP authentication in your email client. Please make sure this is enabled and the user/pass is specified correctly there.
    0

Please sign in to leave a comment.