Skip to main content

Transfer tool, websites not loading and EC2 (AWS)

Comments

2 comments

  • cPanelLauren
    The cpanel docs imply that on the new server the internal IP [COLOR=rgb(147, 101, 184)]10.0.0.{new} should be changed to the old internal IP [COLOR=rgb(26, 188, 156)]10.0.0.{original}, from what I can see this is not possible/allowable with AWS. I also didn't think this would be an issue because cpanel cleverly remaps the internal IP and public IP via NAT, and worst case its a license transfer with cpanel (I'm still on the grace period).

    THat's totally fine the docs assume you're doing an IP Swap and you're going to proceed with the old IP address. It shouldn't be an issue as you'll just need to update your license for the new license. This is noted near the top of the documentation: [QUOTE] Note: This procedure assumes that your server"s IP addresses are portable, and that you can migrate them from the old server to the new server. If you use a third-party data center or hosting provider for your cPanel & WHM server, contact them to confirm that you can migrate your IP addresses.
    The apache settings were different, but according to the documentation the transfer tool should have taken care of that.

    The documentation doesn't note that the Apache configuration will be transferred. It notes the following: [QUOTE]Make certain that you copy your cPanel accounts" Apache configuration to the new server. To do so, follow the steps in our
    Now, without information on why the sites aren't loading, I can't tell you if performing any of these actions will resolve the issue, do you have errors that may indicate whet the specific issue is? None of these are the Apache settings though, I completely understand how misleading this is and I'm requesting that the documentation be updated. If you want to transfer configurations that weren't moved by the transfer tool like the apache configuration settings themselves you can use the following:
    The cpconftool Script | cPanel & WHM Documentation
    0
  • jacksmith
    Hi, Thanks for the reply. I ultimately got it sorted with help from cpanel technical support. For reference the solution was: 1. Ensure that NEW server has SAME IP ADDRESS SPECIFIED in basic setup as ORIGINAL server (x.x.x.{original} 2. Run transfer tool to import all accounts (this imports the DNS zones with the x.x.x.{original} IP address) 3. Run IP Migration tool PART-WAY ONLY (otherwise it will change DNS zones to the x.x.x.{new} elastic IP), specify the INTERNAL IP of NEW SERVER (eg. 10.0.0.{new}) - run up to and including continue on the "modify your servers" configuration files" page. *** DO NOT RUN FURTHER *** (if you do you need to delete the accounts and reimport with the transfer tool) 4. Next run /scripts/rebuildhttpdconf 5. Next, delete the following files (ignore any 'does not exist's): /var/cpanel/ipmigrate /var/cpanel/useripmigratemap /var/cpanel/ipmigscript /var/cpanel/ipmigratelock /var/cpanel/postipmigrate This leaves the server as x.x.x.{original} and 10.0.0.{new} From here the x.x.x.{original} elastic IP can be moved across, most sites should not be interrupted but give it about a day for the cpanel license to automatically update. Thanks again for the reply!
    0

Please sign in to leave a comment.