- Plesk for Linux
Unable to remove an IP address via Plesk:
PLESK_ERROR: Error: IP address 203.0.113.2 cannot be removed because it is used by DNS zone of one or more domains.
- IP address 203.0.113.2 is set as public for another IP address at Tools & Settings > IP Addresses.
The IP is used as Public for other IP which has a website hosted on it.
Remove the IP address manually from the server:
Note: Make sure that the IP address you are going to remove is not used by any domain at Tools & Settings > IP Addresses.
Connect to the Plesk server via SSH.
Identify the interface on which the IP address is located:
# ip a
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
inet 192.0.2.2/32 brd 10.39.81.154 scope global venet0:0
inet 203.0.113.2/8 scope global venet0
Remove the IP address from the interface:
# ip addr del 203.0.113.2/8 dev venet0
Connect to a Plesk database:
# plesk db
Remove the old IP address:
MYSQL_LIN: mysql> delete from IP_Addresses where ip_address='203.0.113.2';