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

از AsemanHost Wiki
نسخهٔ تاریخ ‏۲۵ اوت ۲۰۲۵، ساعت ۱۰:۱۳ توسط 5.124.79.160 (بحث) (صفحه‌ای تازه حاوی «# Start DirectAdmin if it hasn't been started: <code>systemctl restart directadmin</code> # Run the <code>ipswap.sh</code> script to replace the old server IP (1.2.3.4) with the new server IP (5.6.7.8): <code>cd /usr/local/directadmin/scripts ./ipswap.sh 1.2.3.4 5.6.7.8</code> Restart everything: <code>systemctl restart pure-ftpd systemctl restart exim systemctl restart dovecot</code> Also you may run this command: <code>da...» ایجاد کرد)
(تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)
  1. Start DirectAdmin if it hasn't been started:
systemctl restart directadmin
  1. Run the ipswap.sh script to replace the old server IP (1.2.3.4) with the new server IP (5.6.7.8):
cd /usr/local/directadmin/scripts  
./ipswap.sh 1.2.3.4 5.6.7.8

Restart everything:

systemctl restart pure-ftpd
systemctl restart exim
systemctl restart dovecot

Also you may run this command:

da build rewrite_confs