Add to Favourites Add to Favourites    Print this Article Print this Article

Share a domain between 2 users

Note: This how-to guide was provided by a client, and has not been tested by us.

- You currently have user named username with domain
- You will create a new user named newuser to share
- newuser won't have any of his own domains other than


1. Create a new user named newuser with a dummy domain from the reseller level.
2. Log on to the server as root.
3. execute (Redhat):

/usr/sbin/usermod -d /home/username -g username newuser


chmod 771 /home/username
chown -R newuser:newuser /home/username/domains
chmod -R 775 /home/username/domains
chown -R newuser:newuser /home/username/mail
mv /usr/local/directadmin/data/users/username/domains /usr/local/directadmin/data/users/username/domains-old
ln -s /usr/local/directadmin/data/users/username/domains /usr/local/directadmin/data/users/newuser/domains
echo "" > /usr/local/directadmin/data/users/newuser/domains.list

5. Edit /etc/proftpd.passwd and update the login path for newuser

Was this answer helpful?

Also Read