Skip to main content

Sites down after restoring backup

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! This is almost certainly a conflict with the IP address configuration as you mentioned. I'm not familiar with how EC2 handles the restore of the networking configuration between machines, but you likely need to ensure that all configurations are updated to use the new IP address. It's possible the IP Migration Wizard (IP Migration Wizard | cPanel & WHM Documentation) would be enough to get things working well, but you'd need to test that to see if that is all that needs to be done.
    0
  • adeyjones
    @cPRex - Thanks for your reply. There is not actually a change in IP, that's one of the huge benefits of AWS, it is an elastic IP which once I had mirrored my instance, I could disassociate the IP from the compromised server and associate it to the new, there is no propagation time and takes effect instantly. On loading the sites from the new instance for the first time, I got the insecure warning but clicking through gives the misconfiguration errors. As the IP and therefore hostname etc is all the same, I just cant think what the issue could be. In the meantime, i've reverted to exporting/importing databases via phpmyadmin in WHM so that admin dashboards are accessible again using tables from before this "hack" occured.
    0
  • cPRex Jurassic Moderator
    Is there a private IP address associated with the machine that has changed?
    0
  • adeyjones
    No, only the Public IP which is then changed once I associate my elastic IP to it.
    0
  • cPRex Jurassic Moderator
    We'd likely need access to the system to see where the miscommunication is. Could you submit a ticket to our team and post the number here so I can follow along?
    0
  • adeyjones
    @cPRex - All sorted :) So once i'd re-associated my elastic IP to my new instance, I just needed to log in to WHM and change the IP in "Basic WHM Settings", then go to "change IP of multiple sites" and change all from the compromised servers private IP, rebuild https.conf and restart apache, job done and sites came online.
    0
  • cPRex Jurassic Moderator
    Nice - I'm glad you were able to work that out!
    0

Please sign in to leave a comment.