how to change domain server witn minimum downtime

net4me

Active Member
Apr 21, 2002
33
0
306
I have now the domain.com hosting on cpanel1.
Now I want to move this domain to server cpanel2. I copy all data on server2. I change dns servers in domain, but they need time to refresh for about 24 hours. AS I do using mysql , I want immediately it working from the new server.

In whm (old server) I can edit zones (NS, A,MX) so, I can point somehow to the new server. But how exactly? I need the procedure. I have the following dns records:

domain.com NS ns1.oldserver.com
domain.com NS ns2.oldserver.com
domain.com A 66.66.66.66
domain.com A 127.0.0.1
domain.com MX 0 domain.com
mail CNAME domain.com
www CNAME domain.com
ftp A 66.66.66.66

Msaybe change ttl on old server?
What about mail. I 'd like still access it on old server now (I have blocked only http here), and sites loading from new one. How to do this?
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
Keep in mind that some isp's, particular dialup and the UK is the worst, cache the dns results for longer then the TTYL. I know last time I changed nameservers it took about a week for a few UK people to be able to see the website.