Map user to subdomain


#1

How can I map a user to their own subdomain? IE, I have a user called jim, so /home/jim is their path. Now, I make a subdomain of jim.xxxxxxx.com, I want /home/jim to the be the webroot of jim.xxxxxxx.com.


#2

No you don’t =) You want /home/jim/jim.xxxxxxx.com to be the ‘Web Directory’.

If the subdomain already exists, then go to Domains -> Web and ‘Edit’ the subdomain so that it is ‘Fully hosted’ and set the ‘Web Directory’ to /home/jim/jim.xxxxxxx.com

If you are goign to create the subdomain, make sure you select ‘Fully Hosted’ and specify the ‘Web Directory’ as above. Then login as jim if necessary to upload the web site files into the jim.xxxxxxx.com directory.

:cool: Perl / MySQL / HTML+CSS