Moving server: what all to change for new IP?

Discussion in 'Installation/Configuration' started by schwim, May 5, 2020.

  1. schwim

    schwim Member

    Hi there everyone!
    I'm having to move a hosted VPS from one location to another, requiring an IP change. I am wondering where all I will need to change in the server to reflect the new IP address it will have.

    OS is Debian 10.

    hostname is sure to change where it points to and do I need to find all the SSL certificates that were created? I'm sure there's more but I can't think of where.
    Any help would be greatly appreciated. Thanks for your time!
     
    Last edited: May 5, 2020
  2. ahrasis

    ahrasis Well-Known Member

    From inside an ISPConfig server, I can think of at least two i.e. hosts file and system > server ip addresses.

    Of course from the outside you need to make sure your server hostname FQDN is pointing to the new ip too.

    For all website domain dns either managed from within that server or outside, need to be adjusted accordingly as well, unless they are using cname in fixing its public ip like mine.

    There is also the official Migration Toolkit that may ease any transfer of an ISPConfig server from one machine to another.
     
    Last edited: May 6, 2020
  3. nhybgtvfr

    nhybgtvfr Active Member

    and for anyone doing this with a multi-server setup and looking at this thread for info, you'd also need to update the host ip for the relevant ispcsrv# user for the relocated server in mysql on the master server.
     
    ahrasis likes this.
  4. schwim

    schwim Member

    Hi there guys,

    I had to first connect via the host's VNC server and change /etc/network/interfaces to get it accessible from outside.
    /etc/hosts
    Then in ISPC, I found entries to change in both Server >> Config and Server >> IP adresses, thanks to @ahrasis .

    That's all I've found so far. The server is operating without any detectable issues so we'll see what pops up in the future.

    Thanks for your time!
     
    ahrasis likes this.

Share This Page