Knowledgebase: Email Help
How to login to Horde or Squirrel or Roundcube directly ?
Posted by Satya, Last modified by Kim S. on 05 February 2016 06:01 PM

If you want to login directly to your favorite webamail you can do the following:

1) Login in to your cPanel interface.
2) Create sub-domain, i.e webmail.domain.com (replace domain.com with your actual domain name)

Your sub-domain folder path should be public_html/webmail

3) Create .htaccess file in the document root of sub-domain public_html/webmail

Add the following rewrite rules to .htaccess

For RoundCube

RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.webmail.domain.com$
RewriteRule ^(.*)$ http://domain.com:2095/3rdparty/roundcube/$1 [R=301,L]

For Squirrel Mail:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.webmail.domain.com$
RewriteRule ^(.*)$ http://domain.com:2095/3rdparty/squirrelmail/$1 [R=301,L]

For Horde:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.webmail.domain.com$
RewriteRule ^(.*)$ http://domain.com:2095/horde/$1 [R=301,L]

Replace domain.com with your actual domain name.

Now access http://webmail.domain.com it should redirect to your favorite email


Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).