Do please make a backup of all the files mentioned here, so that if anything go
wrong on the process we could safely undo the changes.
1: edit /etc/sysconfig/network-scripts/ifcfg-eth0 and replace the old main IP with new IP. // assuming eth0 as the primary Device
2: connect the server through LAN IP or via KVM and then restart the eth0 device
>> ifdown eth0
>> ifup eth0
3: Restart IP service
>> /etc/init.d/startips restart
4: execute IPswap command
/usr/local/directadmin/scripts/ipswap.sh old IP new IP //This will replace all the old IP entries with new1
5: Update Licence
>> /usr/local/directadmin/scripts/getLicense.sh uid lid//uid and lid can be found in “/usr/local/directadmin/scripts/setup.txt”
And restart all the services in server.