Migration ISPConfig with change IP

Discussion in 'General' started by thesystemist, Nov 11, 2024.

  1. thesystemist

    thesystemist New Member

    Hello everyone,
    I wanted some information regarding a migration of ISPConfig 3 from a Server with an IP (x.x.x.x) to another Server but with a new IP (z.z.z.z), obviously using the migration tool.
    My question is the following, in this Server we have more or less 200 DNS zones, is there a way, pardon the term, "simple" to adjust the zones from the old IP to the new one? (without having to do them one by one by hand)

    Another question, once migrated to the new Server, in which positions do I have to change the IP of ISPConfig?

    thank you very much for your precious help
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, you can do that by SQL in the ISPConfig database, the database table is dns_rr.. Then run Tools > Resync in ISPConfig for the DNS zones.

    You can let the tool replace the IP during migration.
     
    thesystemist likes this.
  3. thesystemist

    thesystemist New Member

    Thank you very much Till for the speed in the response.
    I did not know that the "Resync" command would resynchronize the files after changing them on the Database.

    I have another question, because we still do not know if they move servers, or keep the current one.

    If instead the ISPConfig machine remains as is, but I had an IP change, at that point I would change the IPs in the DNS zones as you advised me, and then at the ISPConfig and machine level in which places should I change the IP?

    Thanks again for your support and help
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Try Internet Search Engines with
    Code:
    site:howtoforge.com change host IP
    You could add name and version of your Linux distribution to the search query, to get more relevant answers.
     
    thesystemist likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    If your websites are using * in the IP field, then there is nothing that needs to be changed except the IP address in your network config files and in /etc/hosts.
     
    ahrasis and thesystemist like this.
  6. thesystemist

    thesystemist New Member

    Thank you so much for your help and support @Taleman and @till
    Really thank you again!!!
     
  7. thesystemist

    thesystemist New Member

    Hello everyone,
    I recently tried to perform the total migration from Server X to Y.
    For convenience I disconnected the network of Server X, while on Y I changed the IPs as per your instructions, it works!
    Now I have another problem, WEB side
    The sites do not work well, some sites work and are displayed, while others always open the first site that I have in the list of Web Sites. About ten sites are all redirected to the first site, I can't understand why this happens

    Thank you very much for your support
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    See read before posting post, it's explained there.
     

Share This Page