When you want your DirectAdmin host transfer to a new server, just do the following after transfer.
1) Refresh or reattach the current server interface IPs
systemctl restart startips
2) Change your old server IP to new server IP address
systemctl restart directadmin
cd /usr/local/directadmin/scripts
Assuming your old ip is 172.16.10.78, and new ip is 10.172.56.83
./ipswap.sh 172.16.10.78 10.172.56.83
3) Restart services
systemctl restart pure-ftpd
systemctl restart exim
systemctl restart dovecot
4) Rebuild configurations
da build rewrite_confs
Done, reboot server.
Post a Comment
Post a Comment