web directoryearn money in seconds   Free file hosting, free video sharing

<<< The Web Hosting >>>


Go Back   Noeman GSM > Webhosting & Website development > Web Hosting Forums

Notices

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-12-2006, 08:44 AM
Spiral's Avatar
CO-Admin
 
Join Date: Sep 2004
Location: Martil
Age: 25
Posts: 15,692
Reputation: 18998
Spiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super Member
Default cPanel/WHM transfer guide

I have recently had to transfer a lot of accounts over from one server to anouther (as it was easier then replacing the hardrive). So I thought I may as well write a guide about it.

Transfer Preperation - 24 hours before

We need to change the TTL system to make sure that the changes on the DNS system take 6 minutes instead of 24 hours. So login to the old server

1. cd /var/named
2. perl -pi.bak -e "s/14400/360/g" *.db
3. /etc/rc.d/init.d/named restart

The Transfer

old server

We need to shut down all the services to stop any changes to the files. Note the sites will still work as we are not shutting down httpd or mysql. The sites will just not be able to upload new files, modify anything in cPanel or get emails. If they did any of this during the transfer the files would be lost.

1. service chkservd stop
2. /etc/rc.d/init.d/exim stop
3. etc/rc.d/init.d/pure-ftpd stop;/scripts/ckillall -9 pure-ftpd;/scripts/ckillall -9 pure-authd;/etc/rc.d/init.d/proftpd stop;
4. /etc/rc.d/init.d/cpanel stop

new server

1. click on copy multiple accounts
2. Fill out the info
3. Select the accounts to transfer, if you chose select all at the bottom note that you will assign every account it's own ip address unless you manually unselect assign ip address to the side of every account.
4. Sit back and relax. You have to wait for the transfer to be complete now


Post Transfer

Ok well lets point the old DNS settings to the new server. So login to the old server

1. cd /var/named
2. perl -pi.bak -e "s/[oldip]/[newip]/g" *.db
3. /etc/rc.d/init.d/named restart


Now everything should be complete and working on your new server.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:44 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 2004-2008 Noeman . All rights reserved
Web Advertising | Loans | Song Lyrics | McDonalds | Song Lyrics

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111