Host database on separate server

Dear Team,

We have set up the DHIS2 application with GitHub - dhis2/dhis2-server-tools: Tools to support installation and management of DHIS2 . However, we no longer want to host the database on the same server. We plan to host the database on a separate server. Could you please share the steps to configure this setup?

Thanks

1 Like

Hi @MohinderS ,

Just change the dhis.conf file and database configuration, like host, port, dbname, username, password.

Before that, make sure your PostgreSQL server is configured to accept connections from the DHIS2 application server’s IP address

before that i believe you have planned of implementation approaches and well-documented. Once everything is properly configured and documented, your DHIS2 instance should connect smoothly to the remote database.

1 Like

Thanks @rcpoudel :+1:

1 Like