Advertisement
hjysy

Moving between servers best practices

Nov 21st, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. Moving between servers best practices
  2. I need to move some websites between two servers which are pointing to the same nameservers.
  3. This is what I am thinking of doing:
  4.  
  5. ++++++++++++++
  6. list of top cheapest host http://Listfreetop.pw
  7.  
  8. Top 200 best traffic exchange sites http://Listfreetop.pw/surf
  9.  
  10. free link exchange sites list http://Listfreetop.pw/links
  11. list of top ptc sites
  12. list of top ptp sites
  13. Listfreetop.pw
  14. Listfreetop.pw
  15. +++++++++++++++
  16.  
  17. Duplicate site to the new WHM account on new server and then delete the old one.
  18. They are e-commerce sites and don't want to get orders on the old site whilst I am moving it.
  19.  
  20. Are there anythings I need to be aware of and if there are best practices to follow?
  21. You need to put the billing/order system into maintenance mode for a few minutes, live migrate the website data and then point the nameservers to the new one with a lower TTL setting and then on the new hosting remove the maintenance mode. This should allow all the orders to flow into the new system and if people are still viewing the old website the ordering system will show as offline.
  22. if you have root on bother servers. use Express Transfer from WHM transfer tool. this will change .htaccess of old website to show a nice page informing visitors that the website was moved to new server.
  23. it also change the A records and point them to new server IP automatically .
  24. XSL.TEL - A Lonewolf Fully managed hosting provider since 2011
  25. From the little experience I have (hope I'd get corrected if wrong):
  26.  
  27. host position
  28. make money choices
  29. cdnis.bidvertiser.com
  30. 8 hostel
  31. tela26.com
  32. dz4link.com
  33. premierehost.net
  34. exabytes.sg
  35. k hostel kathmandu
  36.  
  37. 1)
  38. I'm using Cloudflare (the free package). Apart from the little extra protection and a sort of CDN (not "real" one for most data, but up to a point, images etc, - paid packages and/or MaxCDN are more "serious" solutions for that), it lets me use Cloudflare's DNS.
  39.  
  40. That means I don't have to rely on provider's nameservers.
  41. It also means that any DNS (IP) changes get propagated withing minutes, not hours. This part is important when moving sites in my opinion.
  42.  
  43. 2)
  44. Copy all the files, databases etc. to the new server, set it all up.
  45.  
  46. 3)
  47. Choose a time of day/week when the traffic (sales) are the lowest.
  48.  
  49. Set the "old" site to: "maintenance" (stopping/disabling sales).
  50. Make a fresh "inventory" database copy to the new server.
  51. Change all the DNS records to point to the new server IP and all the other relevant fields.
  52.  
  53. TEST everything (inventory changes, sales, e-mail sending/recieving etc.).
  54.  
  55. 4)
  56. Light a candle for good luck.
  57. Thanks for all the replies, in my case I should mention that there will be no need to change nameservers or IPs it is just moving to another server within the same hosting company. I am not sure how that will work and which website it'll go to if the website exists on two servers which point to the same nameserver.
  58. In that case it's hardware migration. Your website will be migrated to the new server but IPs will remain same, in the mean time old server will go offline.
  59. █ AdroitSSD LLC - Incredible? Hosting Platform| In Business Since 2012 | 24/7 Real Support
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement