Howto change IP of ISPConfig server

Discussion in 'Installation/Configuration' started by Jeee, May 11, 2021.

  1. Jeee

    Jeee New Member

    What do I need to do to change the ip address of the ISPConfig server so it will continue working properly?

    thank you!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    No mention of the Operating system involved ...
    This may not work on your OS, but here goes:
    • Change files /etc/hosts and /etc/network/interfaces
    • search for other configuration files where the IP may be: grep -r 11.22.33.44 /etc
    • you may also need to change name server and gateway if new IP from other network
    • change name server records, also reverse name service
    • change settings in ISPConfig panel, System | Server IP-addresses, then do Tools | Resync Tools | Resync | All Services
    • At least on multiserver ISPConfig setup, dbispconfig database has IP-address of hosts, those need to be changed.
     
    aldo likes this.
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    if you're on a recent ubuntu, especially a vps, instead of /etc/network/interfaces, it'll probably be /etc/netplan/50-cloud-init.yaml
     
  4. Jeee

    Jeee New Member

    Sorry. Using Ubuntu 20.04
    Apparently not even in interfaces as nhybgtvfr already stated but only in
    /etc/netplan/00-installer-config.yaml:
    /etc/netplan/00-installer-config.yaml: gateway4:
    /etc/netplan/00-installer-config.yaml: nameservers:
    I suppose you mean the normal DNS records for the domains? (I don't run them on the server)
    I only have a small standalone setup.

    Hope it is actually this simple. Thanks a lot.
     

Share This Page