How to replace IP address for domains/clients/resellers in Plesk for Linux




  • Avatar
    Farid Bestenli

    I already have the new ip address registered in plesk but i can't delete it. So what's the solution?

    Error: Cannot remove the IP address 192.168.x.x because it is used by an active session. Cannot remove the IP address 192.168.x.x because it is the primary IP address of a network interface.

  • Avatar
    Farid Bestenli

    Update: I managed to delete the ip address using the commands:

    # plesk db

    # delete from IP_Addresses where ip_address='192.168.x.x';
  • Avatar
    Ivan Postnikov

    Hello @Farid, thank you for sharing your user experience.

    The recommended way is to, at first, change the interface primary IP.

    Please, check this article for the reference.

Please sign in to leave a comment.

Have more questions? Submit a request