public ip changes in ispconfig configuration files / db

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

  1. olivier031

    olivier031 New Member

    Hello,
    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

    Olivier
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Basically you can use the one I posted in this topic: https://www.howtoforge.com/communit...r-for-debian-ubuntu-ispconfig-3-server.69910/.

    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