Cobra Forum

Plesk Panel => Plesk Service/Interface => Topic started by: mahesh on Dec 29, 2023, 07:22 AM

Title: How to change the IP address for domains/clients/resellers in Plesk for Linux?
Post by: mahesh on Dec 29, 2023, 07:22 AM
Question
How to change the IP address for domains/clients/resellers in Plesk for Linux?

Answer
Switch all existing domains to a single IP address that exists in the system:

1.Connect to the server via SSH .

2.Plesk database backup .

3.Run the following command:

for i in $(plesk bin subscription -l); do plesk bin subscription -u "$i" -ip <ip_address>; done
Note: <ip_address> here is the IP address that will be used instead of the current one. This IP must exist in the system.