A better way?
Hi,
So most of the tutorials talk about ln -s ...
Here's a better way:
[1] cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail
[2] vi /etc/apache2/sites/available/squirrlemail
and modify Alias /squirrelmail /etc/squirrelmail
to Alias /webmail /etc/squirrelmail
[3] a2ensite squirrelmail
Do similar for phpmyadmin.
next for the site you can do this:
[1] go to ispconfig and create a site with your domain name. ie: domain.tld and set it to auto all subdomain by setting it to *.
[2] cd /etc/apache2/sites-available
[3] mv default default.bak
[4] cp domain.tld.vhost default
Voila!!!
Hope this helps.
|