ขั้นตอน
1. เข้า Server ด้วย SSH ในฐานะ Root
2. เข้าไปที่
โค้ด: เลือกทั้งหมด
cd /usr/local/directadmin/scripts
โค้ด: เลือกทั้งหมด
./move_domain.sh domain.com olduser newuser
โค้ด: เลือกทั้งหมด
./move_domain.sh mindphp.com usera userb
สำหรับ Directadmin เวอร์ชั่น 1.61.1 จะมีหน้าจอ ให้สามารถย้ายได้ ที่หน้าเว็บ ในส่วนของ
directadmin domainThe internal default will be:
move_domains_between_users=0
To enable it at the Admin Level, use:
move_domains_between_users=1
To enabled it at both the Admin and Reseller Levels, use:
move_domains_between_users=2
Related thread:
http://www.directadmin.com/forum/showthread.php?t=42785
Also implement custom hook scripts::
move_domain_pre.sh
move_domain_post.sh