How to setup /~username/

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. Lets 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 loggin into the User Panel -> Domain Administration -> select the active domain to use and click "Set as Default". This will setup the symbolic link for the selected domain for /~username.

  • 154 Users Found This Useful
Was this answer helpful?

Related Articles

Change email password without logging in

If you would like your pop users to be able to change their own email passwords without having to...

Setting up DirectAdmin with an SSL certificate

You can switch DirectAdmin to use SSL instead of plain text. -> https instead of http on port...

How to customize the output of webalizer

DirectAdmin uses the default webalizer settings by not specifying a webalizer.conf file at all....

How to allow webalizer stats to be viewable through the web

If a User does not want to have to login to DirectAdmin each time he accesses his webstats, a...

How can I edit all of the templates, messages, and default index.html pages?

If you're looking to customize the look and feel to the data that is used for your users, this...