var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Adding subdomains with diff document roots?
IN CPANEL, is there a way to add a subdomain thats not for the main document root.
IE normally subdomains added in cpanel go to /home/user/public_html/<sub_domain name here>
is there a way to change it so that it would be
/home/user/public_html/subs/<sub_domain name here>
Thanks for any help.
*edit: I put this in the programming because im doing it using php*
$output = fopen ( "http:// $login : $pass @www. $domain :2082/frontend/x/subdomain/doadddomain.html?domain= $subdomain &rootdomain= $domain " , "r" );
$output = fopen ( "http:// $login : $pass @www. $domain :2082/frontend/x/ftp/doaddftp.html?login= $subdomain &password= $ftppass &homedir= $homedir " , "r" );
Last edited by VolkNet; 06-21-2005 at
I tried changing the $homedir to something else - normally it's the same as the subdomain but still no luck.
tried this? It should add subdomains as f.ex; user.members.domain.com, or domain.com/members/user
Above is untested, but I have got it working in another script ^_^ (that subdomain in the example "user" must already exist and have the needed subdomains available as resources)