Migration server from Datacenter to enother one - Change IP  [SOLVED]

Discussions about the installation of KeyHelp.
Post Reply
User avatar
gusarg81
Posts: 33
Joined: Sun 18. Jul 2021, 02:20
Location: Argentina
Contact:

Migration server from Datacenter to enother one - Change IP

Post by gusarg81 »

Hi,

We migrated our server to another Datacenter. Our server rungs on Ubuntu 22.04. So I've changed the IP with netplan.

Is there a way under console to change IP settings, DNS, etc on Keyhelp?

Thanks in advance.
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: Migration server from Datacenter to enother one - Change IP  [SOLVED]

Post by Florian »

Hallo,

not yet. It will come with one of the next updates.

For now you can use the following command to change the IPs in the database:

Code: Select all

mysql -D 'keyhelp' -e "UPDATE settings SET value = '111.111.111.111,222.222.222.222' WHERE category = 'dns' and name = 'ips'";
Of course you must switch 111.111.111.111 and 222.222.222.222 to your real IPs.

After that run keyhelp-toolbox -> Rewrite user configuration files (Apache / Bind9 / PHP-FPM)
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply