Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th December 2006, 16:58
bss bss is offline
Junior Member
 
Join Date: Dec 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sub-domains...where is the folder?

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 webmaster@oblika.si
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!!!
Reply With Quote
Sponsored Links
  #2  
Old 14th December 2006, 21:11
Falsig Falsig is offline
Junior Member
 
Join Date: Dec 2006
Location: Denmark
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
different counting of domains torusturtle Feature Requests 7 9th May 2007 22:18
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 03:32
.Sent Folder not automatically created virtualweb General 1 21st July 2006 13:16
Multiple Sites to same folder mphayesuk General 1 11th May 2006 11:38


All times are GMT +2. The time now is 00:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.