How to setup /~username/ in DirectAdmin?

If you wish to be able to control all domain on an account before they resolve, you can do so by creating some symbolic links. Let's say you have and which you want to be able to access. You'd run the following as the user through ssh:


cd /home/username
rm -f public_html
mkdir --mode=755 public_html
cd public_html
ln -s ../domains/
ln -s ../domains/


Alternatively, if you just wish to switch which domain is being used for /~username, you can do so by logging into the User Panel -> Domain Administration -> select the active domain to use and click "Set as Default". This will set up the symbolic link for the selected domain for /~username.


Was this answer helpful? 0 Users Found This Useful (0 Votes)