How to remove old IP address from all resellers

Created:

2016-12-12 03:43:07 UTC

Modified:

2017-08-08 13:33:14 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to remove old IP address from all resellers

Applicable to:

  • Plesk 12.5 for Windows

Question

How to remove old IP address from all resellers?

Answer

  1. Retrieve a list of all resellers. Replace the * symbols with your Plesk admin password:

    "%plesk_dir%"\\MySQL\\bin\\mysql.exe -uadmin -p****** -P8306 psa -Ne"select login from clients where type='reseller'" > C:\\resellers.txt
  2. Change your directory to %plesk_cli%

    cd %plesk_cli%
  3. Execute the repair.exe utility for each domain:

    for /f "tokens=*" %d in ('type C:\\resellers.txt') do ip_pool.exe -r <ip_address> -owner %d
Have more questions? Submit a request
Please sign in to leave a comment.