How To Set A Default Webmail Application Using cPanel
Written by Website Tutorials
Monday, 02 June 2008
This tutorial will guide you through setting up a subdomain that will allow you to use your favourite webmail client everytime you access your webmail.
How to set a default webmail application using cPanel
With the addition of RoundCube, AUSWEB now provides access to three webmail applications which also includes Horde and SquirrelMail. When accessing your webmail you are normally presented with a page that allows you to choose the application you would like to use.
One method to always use the same application evry time is to "Enable AutoLoad". Although the autoload feature is nice and easy to use, there is actually another way you can set the default and that is by setting up a subdomin and a redirect. To do this please perform the following setps:
1) Access your webmail applications tab by typing http://www.yourdomain.com.au/webmail. You will be presented with a pop up box requesting your username and password. Here you need to enter your full email address and the password you set up when creating your email account.
2) Once logged in you will be presented with a page giving you the option to choose the webmail application you would like to use. Select your application; for this example we are going to use RoundCube.
3) Once the webmail client of your choice has opened, copy the full url from the browser's address bar and save it somwhere handy(e.g. into windows notepad). You will need this a little later when we create your new webmail subdomain.
4) Now that you have the url saved somewhere safe, logout of your webmail and then open up your cPanel and login. From the main cPanel page, select the "Subdomain" option under the "Domains" panel.
5) On the Subdomains page, enter "webmail" into the "Subdomain" form field(excluding the quotes) and then select "Create". Don't be concerned by the "Document Root" form field as this will auto populate.
6) Once the creation process has completed you should now be able to see your new subdomain under the "Modify a Subdomain" section. At this point it is not redirecting anywhere so this is our next task. Next to the newly created subdomain, select the "Manage Redirection" link.
8) In the "Subdomain Redirection" form field, enter the full url you copied down earlier(Using RoundCube as the example, this should look something like http://yourdomain.com.au:2095/3rdparty/roundcube/?_task=mail). Click save and your done.
9) Before closing down cPanel, you can test the redirect by opening up a new browser window and typing in your newly created subdomain http://webmail.yourdomain.com.au. When the login pop box appears(make sure you ahve allowed popups in your browser) enter in your email address and password. You should now be directed to your default webmail application. If it doesn't work then you will need to go through all the steps again, this time carfully checking that you have correctly entered all details with no spelling mistakes.
If you found this tutorial helpful, you can bookmark it with your favourite tracker.