Hi there,
I have apache2 http server running on my Debian box. The problem that I'm facing is how to create a subdomain.
Here is what I have in /etc/apache2/httpd.conf:
<VirtualHost *>
ServerName
www.abc.com
DocumentRoot /var/www
</VirtualHost>
<VirtualHost *>
ServerName webmail.abc.com
DocumentRoot /var/www/squirrelmail
</VirtualHost>
As you can see I'm tring to setup the subdomain 'webmail' under abc.com for SquirrelMail.
How can I tell apache2 to goto DocumentRoot /var/www/squirrelmail when somebody types webmail.abc.com into their browser?