> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accessing webmail clients directly

> Learn to set up a redirect for direct webmail login and instant application access.

This article describes how to access webmail clients directly. Normally when users log in to webmail, they manually select a client application to use. However, you can set up redirects that enable users to log in to webmail and view an application immediately without having to choose a client.

## Accessing webmail clients directly

Instead of forcing users to choose a client application every time they log in to webmail, you can configure your site so users log in to webmail and automatically see the Roundcube webmail interface.

For example, you can set up your site's webmail URL to be *[http://www.example.com/mail](http://www.example.com/mail)*. When your users go to this URL, they are redirected to the webmail login page. After they log in, they see the webmail client you specified in the redirect.

<Warning>
  **Important**

  To configure the redirects correctly, you must know the server name for your account (for example, *mi3-ss22.a2hosting.com* ). For information about how to determine your account's server name, please see [this article](/docs/determining-your-accounts-server-name).
</Warning>

To set up direct access to a webmail client application after users log in, follow these steps:

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Domains** section, click **Redirects**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-redirects-icon.png)

3. Under **Add Redirect**, confirm that the **Type** list box is set to **Permanent (301)**.

4. In the domain list box, select the domain or domains that you want to redirect.

5. In the text box after the forward slash (**/** ), type the folder or file name that you want to use for the redirect. For example, if you want to use*example.com/mail* as your webmail URL, type `mail`.

   > 📘 Note
   >
   > The *webmail* folder is already used for the general purpose webmail URL, so you cannot use it in your own redirects.

6. In the **Redirects to** text box, type the appropriate URL for the client application that you want to start automatically:

   * **Roundcube:** To automatically start the Roundcube webmail client for users, type `https://servername:2096/3rdparty/roundcube/`. Replace ***servername*** with your account's server name (for example, *mi3-ss22.a2hosting.com* or *sr10.supercp.com* ).

   > 🚧 Important
   >
   > Make sure you include the trailing slash (**/** ) at the end of the URL, or the redirect will not work correctly.

7. Under **[www](http://www). redirection**, confirm that **Redirect with or without [www](http://www).** is selected.

8. Click **Add**.

9. Use your web browser to go to the webmail URL that you specified. For example, if you specified *example.com/mail*, you should see the webmail login page when you visit that URL.

10. After you log in to webmail, the client application you specified in step 6 starts automatically.

## Related articles

* [Accessing webmail through cPanel](/docs/accessing-webmail-through-cpanel)

* [Accessing e-mail accounts through webmail](/docs/accessing-e-mail-accounts-through-webmail)
