How do I make SourceForge work the same when the IP address of the server changes?

Update the /etc/hosts file on the server and the dns record(s) with the new IP address.

When the IP address of the server changes, update the /etc/hosts file on the server and the dns record(s) with the new IP address.

In addition, for SourceForge instance using PostgreSQL database, the used by the PostgreSQL database needs to be changed in the following files: