I need help moving to a new server, I'm not sure how to do this. Here is a timeline of events:
Registered 2 domains and hosted via host A.
Switched to host B for 4 months or so.
Now I'm trying to move to a new server w/ host B.
New server is up and ready to go at Host B.
How do I make all requests for my url go to the new server? I'm using WHM and Cpanel. I'm looking for a step by step help. Even though my host is a "managed" host they don't really seem to want to help me step by step. I'm not sure if my old host still has control or what. I'm just a programmer not trained for system administration like this. Any help would be much appreciated.
I'd recommend a search on the forums with keywords like "migration", "switching", or something of the like...
Many threads have documented this sort of issue in the past.
CybexHost.com - Shared and Reseller Hosting Solutions on cPanel/WHM Linux Servers ModernTweak.com - Discount ModernBill Licenses, Hosted Installations, and Professional Services :: Pay for your discount ModernBill license with PayPal :: admin[at]cybexhost.com :: AIM: CybexH
"Transfers have completed, let's make the change happen! Here we go:
1. Login to old server as root
2. cd /var/named
3. perl -pi.bak -e "s/[oldip]/[newip]/g" *.db
4. /etc/rc.d/init.d/named restart
This will point all the sites to the newip. Hopefully most of your sites are on a shared ip. For all the accounts that are NOT on a shared ip you will need to copy the .db.bak for that domain to .db and edit it to reflect the new IP.
MAKE SURE that you restore the back up file (.db.bak) for the old server's hostname and namesevers, otherwise your DNS will be useless."
By "shared ip" i'm guessing he meant shared server....this is a dedicated server...but i don't know wut he meant by "copy .db.bak for that domain to .db and edit it to reflect the new IP." Half the time I can't even log into the old server it is so crashy. Is this necessary?....won't telling my registrar to point to the new nameservers be enuf?
I wished that there were managed web hosts that would Manage this for you.