when i create one subdomain (webamail.domain.tdl) in ISPconfig it doesent create any special folders...and when i write webmail.domain.tdl into my browser i get the default domain.tdl page. And ISP also adds an alias (in Vhosts_ispconfig.conf) to domain.tdl -> Code: ###################################### # Vhost: www.domain.tdl:80 ###################################### # # <VirtualHost xx.xxx.xxx.xx:80> ServerName domain.tdl:80 ServerAdmin [email protected] DocumentRoot /var/www/web11/web ServerAlias domain.tdl webmail.domain.tdl DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web11/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web11/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode On php_admin_value open_basedir /var/www/web11/ php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /var/www/web11/phptmp/ php_admin_value session.save_path /var/www/web11/phptmp/ AddType text/html .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/web11/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web11/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web11/user/$1/web/$3 </VirtualHost> and I cant find the folder of this subdomain... HELP!!!
If you create a sub-domain (co-domain) you actualy only create an alias. To create a 'true' sub-domain you have to create a 'new' site and call it i.e. webmail.domain.tld. You can do that under the same user so that the admin is still in full control.