public ip changes in ispconfig configuration files / db

Discussion in 'Installation/Configuration' started by olivier031, Sep 17, 2017.

  1. olivier031

    olivier031 New Member

    I would like to create a script to modify the public ip in ispconfig, when this one changes. I already have a script that
    tell me the new ip adress, and would like to know all the entries to modify in ispconfig config files/databases ?

    Thank you for your help

  2. ahrasis

    ahrasis Active Member

    Basically you can use the one I posted in this topic:

    It basically update your public ip when it is changing. It basically change all /etc/bind/pri.* files which relates to all your sites under ISPC and and public ip in dns_rr and server_ip in your ISPC database.

    Since it is mainly for those who are using dynamic ip for their server, if you use a static public ip, you can remove the script once your server and sites are already working with the new ip.
  3. olivier031

    olivier031 New Member

    Thank you

Share This Page