Sites failing after server transfer
I had a cPanel server at $oldip, and now I have a new cPanel server at $newip.
Before performing the transfers, I clustered the two servers, did the transfer, and it's been about three days.
So to make sure everything got copied over, I shut the old server down - and now sites aren't loading.
Some troubleshooting has shown that although my nameservers appear to be pointing correctly to the new server, I did a little poking around in /var/cpanel/users and /var/cpanel/userdata and it appears the old ip is appearing a LOT.
Where all do I need to check for the old IP? What automated tools/scripts are available that will help me instead of poking around 200 sites' files individually?
The GREAT thing about cPanel is that it makes life so much easier. The only downside is that learning about all this stuff is so much slower because I don't have to touch it unless something goes wrong. heh.
-
Hello, Generally, you'd want to follow the instructions we document at: How to Move All cPanel Accounts from One Server to Another - cPanel Knowledge Base - cPanel Documentation Can you verify if you did this, and if not, see if using WHM >> Home >> IP Functions >> IP Migration Wizard solves the issue? Thank you. 0 -
Looking at the link, here's how my process compared to it: 1. Set up new server with cPanel/WHM - yes, done 2. Copy all accounts to new server - yes, using transfer tool from new server connecting to old, copying all packages and accounts 3. Shut down old server - is currently shut down 4. Change the new server"s main IP address to the old server"s IP address. - no, because the new server's IP is different 5. Change the IP address of all accounts to the correct IP address. -in the IP migration tool, all sites show the new IP correctly. I have run the tool now. Clustering is not an issue; this is a standalone server. SSL is not an issue at this time, and I have a valid license else I couldn't get into cPanel/WHM. I don't yet know if any problems were fixed, but running this command: find /var/cpanel/ -type f -readable -writable -exec grep "192.99.1.211" {} \; > 211.txt ...has yielded a number of results, which I'm poking through now. EDIT: I've done two more searches limited to /var/cpanel/users and /var/cpanel/userdata --- no results found this time, so maybe this has it fixed. Will bump with a fresh reply later if things fail later today... 0 -
Loading cpanel.[anydomain.ext] goes to the live domain for the first account created on the server now. So this is new behaviour since this morning running the the migration tool this morning......... edit: I've gone into Tweak Settings and disabled, saved, reinabled proxy domains - and will test in a few minutes. 0 -
Hello, I encourage you to open a support ticket using the link in my signature if you continue to notice any issues so we can take a closer look at the affected system. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments