تغییر IP دایرکت ادمین





we got your email and processed the request in step 1), you should now be able to get the new license file:
cd /usr/local/directadmin/scripts

./getLicense.sh 1234 56789


and replace 1234 with your client ID number, and replace 56789 with your license ID number.   See this guide for more information on downloading the license.key.


3) Start DirectAdmin with the new license:


/etc/init.d/directadmin restart


The dataskq may have already started it, thus the restart instead of just "start".

4) Run the ipswap.sh script to replace the old server IP (1.2.3.4) with the new server IP (4.3.2.1)


cd /usr/local/directadmin/scripts 
./ipswap.sh 1.2.3.4 4.3.2.1


This script can be run on any ip, so if you want to change all ips with new ones, just run this script for each old ip with the new ip.  Just ensure that you match the new server ip with the old one.   As mentioned before, you must not add the new IP do DA through the IP Manager.  The new server IP is to be added using the ipswap.sh script.  It will remove the old IP as well automatically.

Restart everything:


/etc/init.d/httpd restart
/etc/init.d/proftpd restart
/etc/init.d/exim restart
/etc/init.d/dovecot restart




Make sure they are correctly binding to the new ports by testing them

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

آموزش نصب DirectAdmin روی لینوکس

با سلام برای نصب دایرکت ادمین ابتدا وارد ssh شوید و سپس کافیست دستورات زیرا به ترتیب اجرا کنید...

آموزش انتقال سی پنل به دایرکت ادمین

1. دانلود و اکسترکت اسکریپت:wget http://190.61.208.90/~directad/cpanel-convertor.tar.gztar...

بروزرسانی دایرکت ادمین در محیط اس اس اچ

برای بروزرسانی دایرکت ادمین به صورت دستی ابتدا بوسیله برنامه Putty که لینک داونلود آن در بخش...

آموزش نصب ماژول Soap برای دایرکت ادمین

مراحل نصب به شرح زیر هست: اول باید دستور زیر رو بزنید تا تغییراتی در فایل configure.php5 اعمال...

آموزش نصب Config Server در کنترل پنل دایرکت ادمین DirectAdmin

  yum -y install perl-libwww-perl.noarch wget http://www.configserver.com/free/csf.tgz tar...