IP change

Discussion in 'Installation/Configuration' started by Marcio Urakawa, Jun 25, 2025.

  1. A small question, when I change the ISP server IP, is just changing /etc/hosts and synchronizing enough or do I need to do something else?
     
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    Fully depends on the situation.
    Is it a single server or multi server environment?

    On the server itself you shouldn't have to change anything.
    In /etc/hosts the hostname should already be pointed to localhost ip and not lan ip.

    When multi server you indeed have to change the changed hosts ip in /etc/hosts on the other nodes.

    And of course make sure your dns points to the right ip.
     
    Marcio Urakawa likes this.
  3. I am using multi-server environment.
    I changed the IP and modified /etc/hosts
    But when I set it to synchronize via the tools menu, the sites' Vhosts continue to have the old IP.


    A small solution was to change something on the user's website so that the IP would be saved in the Vhost.

    Well, in a way it is a solution, but there are no changes when synchronizing.

    Another question, if you can help me, is there a way to cancel the tasks?

    Since yesterday, the numbers in the tasks have been displayed in the interface, but it doesn't work.
    A small solution was to change something on the user's website so that the IP would be saved in the Vhost.

    Well, in a way it is a solution, but there are no changes when synchronizing.

    Another question, if you can help me, is there a way to cancel the tasks?

    Since yesterday, the numbers in the tasks have been displayed in the interface, but it doesn't work.
     
    Last edited: Jun 25, 2025
  4. remkoh

    remkoh Active Member HowtoForge Supporter

    As far as I know the only way is hacking into the master database and changing some update value somewhere.
    There should be several similar posts here on what to do exactly.
     
    ahrasis and Marcio Urakawa like this.
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    In the multi server setup tutorial at 2.2 - Setting up the remote MySQL users for our slave servers - you may need to add access based on all your new IPs in the same fashion again too?
     

Share This Page