Creating Subdomains and Redirecting Default Mail Client in cPanel

By default, if we use cPanel and want to check webmail then we have to go to www.yourdomain.com/webmail. If we use that way, we'll give an options to use two mail client, squirrelmail and horde. What can we do to make one default mail client for our webmail?

We can use this way, create subdomains e.g mail.yourdomain.com in order to get only one mail client. Then redirecting the subdomains to your default mail client url.

1. Login to your cPanel control panel. Example : www.yourdomain.com/cpanel.

2. Click on the Subdomains icon in Domains section.

Subdomains



3. You'll be presented with a blank form to fill out, with one field saying .yourdomain.com next to it. In that blank spot, enter what you want to use as your subdomain, e.g. mail. Leave Document Root field, it will automatically change. Click Create and be patient as it sets up the subdomain.



4. Once you see the confirmation message that the subdomain has been setup, click the Go Back link. Do not click Back using your browser's button.



5. In the line below the one you just entered in Step 3, select the mail.yourdomain.com and click on the  Manage Redirection.



6. When that page loads, enter one of the following URLs, depending on
what program you want your users to access. Make sure you include the
trailing slash!

Horde:
http://www.yourdomain.com:2095/horde/index.php/

SquirrelMail:
http://www.yourdomain.com:2095/3rdparty/squirrelmail/index.php/

7. Click on the Save button.



8.Point your browser to http://mail.yourdomain.com and login with your username, which is your email address, and password. You will automatically be directed to the webmail program that you defined.

Reply

The content of this field is kept private and will not be shown publicly.
If you have a Gravatar account, used to display your avatar.
  • Lines and paragraphs break automatically.

More information about formatting options

This blog uses the CommentLuv Drupal plugin which will try and parse your sites feed and display a link to your last post, please be patient while it tries to find it for you.
CAPTCHA
Jawab pertanyaan ini untuk membedakan apakah anda pengunjung atau spam.
9 + 9 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.