How do I choose to change multiple user IP addresses

yrdesign

Verified User
Joined
Aug 1, 2019
Messages
28
hi
How do I choose to change multiple user IP addresses at once?
I moved from cpanel to da
I have multiple resellers using different IP addresses.
There are many customer site in the reseller account
 
Directadmin allows to change one IP to another at once globally for all accounts and sites:

Code:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]


Run the ipswap.sh script to replace the old server IP (1.2.3.4) with the new server IP (4.3.2.1)

Code:
cd /usr/local/directadmin/scripts  
./ipswap.sh 1.2.3.4 4.3.2.1


This script can be run on any ip, so if you want to change all ips with new ones, just run this script for each old ip with the new ip. Just ensure that you match the new server ip with the old one. As mentioned before, you must not add the new IP do DA through the IP Manager. The new server IP is to be added using the ipswap.sh script. It will remove the old IP as well automatically.

source link: https://help.directadmin.com/item.php?id=250
 
Directadmin allows to change one IP to another at once globally for all accounts and sites:

Code:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]


Run the ipswap.sh script to replace the old server IP (1.2.3.4) with the new server IP (4.3.2.1)

Code:
cd /usr/local/directadmin/scripts  
./ipswap.sh 1.2.3.4 4.3.2.1


This script can be run on any ip, so if you want to change all ips with new ones, just run this script for each old ip with the new ip. Just ensure that you match the new server ip with the old one. As mentioned before, you must not add the new IP do DA through the IP Manager. The new server IP is to be added using the ipswap.sh script. It will remove the old IP as well automatically.

source link: https://help.directadmin.com/item.php?id=250

Thank you
I want to change the IP address of a user under a reseller account.
 
Back
Top