Change Site IP in cPanel

Change Site IP via WHM

Go to WHM > Change site’s IP Address , select the account, then select the IP

Change Site IP via Command Line in cPanel

/usr/local/cpanel/bin/setsiteip -u $USER $IP

For moving all accounts in a server from one Ip to another using the following script;

# Contact
IP= #Set the required IP here
for USER in `cat /etc/trueuserdomains | cut -d: -f2` ;
do /usr/local/cpanel/bin/setsiteip -u $USER $IP ;
Facebook Comments