How to login webmail directly without acessing cPanel?
May 18, 2009 – 03:39 by Support Staff
How to login directly using “webmail.domain.com” in to Squirrelmail, Horde or RoundCube of any account?
First you need to create a subdomain that you want to redirect to your preferred Webmail client [Squirrelmail / Horde / RoundCube].
Following are the steps to create subdomain.
- Login in to your cPanel interface.
- Select the Subdomain option, and create the subdomain. (For eg: webmail.domain.com)
- Once it has been created, go to the File Manager option of the cPanel.
- Change path to “public_html” by selecting the folder image beside the text “public_html”
- Now change the path to folder that was create by your subdomain. (as per our example it would be the “webmail” folder.
- Once inside this directory [webmail], you will see “.htaccess” file, if it’s not there then you need to create it manually.
- If it is not there then create new using below steps: (if it already exists proceed to step 10)
- Create it [.htaccess] by selecting the “Create New File” option.
- A menu appears in the top right corner of the File Manager interface. Choose “Text Document” and name it “.htaccess” [without quotes]
- Now refresh File Manager and you will then see your new file [.htaccess] in the listing of that directory.
- Click on the text title for the .htaccess file on the left side of the screen and a menu appears in the top right of the screen.
- Choose the “Edit File” option, a new window opens.
- Add the following lines:
- If You Want To Redirect “webmail.domain.com” to the Squirrel Mail Client: -
RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.webmail.domain.com$
RewriteRule ^(.*)$ http://domain.com:2095/3rdparty/squirrelmail/index.php$1 [R=301,L]
- If You Want To Redirect “webmail.domain.com” to the Horde Webmail Client: -
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]
- If You Want To Redirect “webmail.domain.com” to the RoundCube Webmail Client: -
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]
NOTE: replace “domain.com” above with your actual domain name.
Enjoy Direct Webmail Client Login.



Sorry, comments for this entry are closed at this time.