HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   from domail.tld/webmail to webmail.domain.tld (

0dp 22nd March 2013 00:51

from domain.tld/webmail to webmail.domain.tld
Hi all,

I've been searching the interwebs for a definite solution to this somewhat essential aspect of configuring a hosting platform. I have yet to find a solution with proper confirmation, so I was hoping I could get one here.

many posts also mentions and as i've experienced myself that the ultimate server guide topic 20.2 does not work

What I would like to accomplish is, for each created site have a redirection from a subdomain to the webmail interface. To make it clear.

webmail.domain.tld points to domain.tld/webmail

As I have understood so far is that in order to enable this, first off you will have to modify the squirrelmail.conf (or what have you) file as follows:


<VirtualHost *:80>
DocumentRoot /usr/share/squirrelmail
ServerName webmail.domain.tld

second you will have to make a subdomain in ISPconfig3 as follows for each domain:


Host      webmail
Domain domain.tld
Redirect Type R,L
Redirect Path http://domain.tld/webmail/

While this works, I can't stop to think that there must be a 'smarter' or automated way of accomplishing this? A way that does not include manually adding the subdomains for each domain.

sorry if this question is trite, but hopefully it can become a quick guide, sticky, or a wiki entry to shine light on this topic (so often asked)

All times are GMT +2. The time now is 09:17.

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