To change the IP address for DirectAdmin and DNS server you need to follow next steps:
Connect to your VPS server using SSH (e.g. PuTTY)
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 and DNS server to the new one (e.g. # ./ipswap.sh 8.8.8.8 7.7.7.7):
# ./ipswap.sh old_ip new_ip
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
Không có nhận xét nào:
Đăng nhận xét