a2software
New member
Hi there;
i want to create subdomains with creating new domain on DA. i'm looking httpd.conf under templates directory of root directory of DA. i need to help that how can i setup it.
<VirtualHost |SERVER_IP|:80>
ServerAdmin webmaster@|SERVER_NAME|
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
for example;
mail.domain.com -> /var/www/html/webmail ( it is like Alias /webmail /var/www/html/webmail/
)
mysql.domain.com -> /var/www/html/phpmyadmin
etc..
i think i have to add some texts into there.
Thanks for your helps.
i want to create subdomains with creating new domain on DA. i'm looking httpd.conf under templates directory of root directory of DA. i need to help that how can i setup it.
<VirtualHost |SERVER_IP|:80>
ServerAdmin webmaster@|SERVER_NAME|
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
for example;
mail.domain.com -> /var/www/html/webmail ( it is like Alias /webmail /var/www/html/webmail/
)
mysql.domain.com -> /var/www/html/phpmyadmin
etc..
i think i have to add some texts into there.
Thanks for your helps.