Change Main Ip In Directadmin
Please login with root
In directadmin there is scripts to change the main ip
- Go to /usr/local/directadmin/scripts directory:
# cd /usr/local/directadmin/scripts - Start ipswap.sh script to change old IP address for your Control Panel
# ./ipswap.sh old_ip new_ip
and then
- Restart all services for the changes to take effect:
# /etc/init.d/httpd restart
# /etc/init.d/proftpd restart
# /etc/init.d/exim restart
# /etc/init.d/dovecot restart