NEXUCOM - Support / Knowledge Base


Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:


Share a domain between 2 users [DirectAdmin]

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

Assumptions:


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


Steps:

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


 

4.

 

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 "domain.com" > /usr/local/directadmin/data/users/newuser/domains.list



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

 





RSS

Services d'Hébergement: Hébergement Web | Serveurs Dédiés | Streaming | Colocation Serveurs | Nom de Domaine | Support |

Hosting Services: Web Hosting | Dedicated Servers | Streaming | Servers Colocation | Domain Name | Support |

Services: | Hébergement | Serveurs | Colocation |

Copyright © 2003-2008. NEXUCOM, All Rights Reserved.

Mascot - Mascots - DirectAdmin - big - mf - Boiler Biomass - Mascottes - Mascots - Webmail - gt - Chaudière Biomasse - Mascottes - Mascotte -

statistics