How to Log in to Your Server or Account

Overview

This document explains how to log in to cPanel, WHM, Webmail, and the Command Line Interface (CLI).

In the following examples, replace 192.168.0.1 with your website or server's IP address:

 

To log in to cPanel, perform the following steps:

  1. Navigate to the following location in your browser: https://192.168.0.1:2083

  2. Enter your cPanel username in the Username text box.
  3. Enter your password in the Password text box.
  4. Click Log in.

For more information, read the How to access cPanel section.

 

To log in to WHM, perform the following steps:

  1. Navigate to the following location in your browser: https://192.168.0.1:2087

  2. Enter your WHM username in the Username text box.
  3. Enter your password in the Password text box.
  4. Click Log in.

For more information, read the How to access WHM section.

 

To log in to Webmail, perform the following steps:

  1. Navigate to the following location in your browser: https://192.168.0.1:2095

  2. Enter your email address in the Username text box.
  3. Enter your password in the Password text box.
  4. Click Log in.

For more information, read the How to access Webmail section.

cPanel & WHM service URLs

A cPanel & WHM service URL contains the following four sections:

SectionDescriptionExample
Protocol The protocol that your browser uses to communicate with a remote server. cPanel, WHM, and Webmail use either http or httpshttps provides http over an encrypted connection. We strongly recommend that you use https to access cPanel & WHM services. https://
Address The address consists of either an IP address (for example, 192.168.0.1) or a domain name (for example, example.com). This section of the URL specifies the remote server that you wish to access. When you use a domain name to access cPanel & WHM services, make certain that the domain's domain name system (DNS) record has propagated across the DNS system. example.com
Port number The port numbers that cPanel & WHM services use. You must specify a port number to access a cPanel & WHM service. The https and http port numbers differ, even for the same service. To specify a port number, enter a colon (:) then a number 2083
Security token

The security token that your server appends to your session's URL. Security tokens help to prevent unauthorized use of a website through XSRF (Cross-Site Request Forgery). Security tokens contain the string cpsess and a 10-digit number.

cpsess1234567890

Important:

  • We strongly recommend that you use an encrypted SSL connection to log in. An encrypted SSL connection does not transmit your username and password in plain text.
  • Your domain's DNS information must propagate before you can access cPanel, WHM, or Webmail with your domain name. If you cannot access the interface with your domain name, use your domain's IP address. 
  • For more information about cPanel, WHM, and Webmail connections, read our How to Configure Your Firewall for cPanel & WHM's Services documentation.

External authentication

Note:

cPanel & WHM introduced this functionality in version 54.

Your system administrator may allow users to access cPanel or Webmail with external authentication credentials (for example, cPanelID, Google® Accounts, Facebook®, or your hosting provider's portal). This reduces the number of passwords that you must remember.

If you are a system administrator and wish to activate external authentication methods for your users, read our Manage External Authentications documentation. 

Notes:

  • In cPanel & WHM version 54, you cannot link an external account to multiple cPanel accounts, WHM accounts, and Webmail accounts. However, you can link an external account to a cPanel account, a WHM account, and a Webmail account. You can link multiple external accounts to the same cPanel, WHM, or Webmail account.

  • In cPanel & WHM version 56 and later, you can link one or more external accounts to multiple cPanel, WHM, and reseller (WHM) accounts.

  • If your external account's provider enabled two-factor authentication, you must authenticate through both the two-factor authentication for that identity provider and the two-factor authentication on your server, if any.

Two-factor authentication

Note:

cPanel & WHM introduced this functionality in version 54.

Two-factor authentication (2FA) provides improved security through an additional login step. If you enable 2FA on an account, users must provide a generated six-digit security code in order to complete the login.

For more information, read our Two-Factor Authentication for cPanel and Two-Factor Authentication for WHM documentation.

How to access cPanel

Note:

In the following examples,  192.168.0.1  represents your website or server's IP address and  example.com  represents your domain name. 

To access cPanel, enter one of the following URLs in your preferred browser:

  • https://192.168.0.1:2083 — Access cPanel over an encrypted connection with your IP address.
  • https://example.com:2083 — Access cPanel over an encrypted connection with your domain name.
  • http://192.168.0.1:2082 — Access cPanel over an unencrypted connection with your IP address.
  • http://example.com:2082 — Access cPanel over an unencrypted connection with your domain name.

You can log in with one of the following methods:

Use cPanel account

To log in with your cPanel account, perform the following steps:

  1. Enter your cPanel username in the Username text box.
  2. Enter your password in the Password text box.
  3. Click Log in.

If your account uses two-factor authentication, perform the following additional steps:

  1. Open your preferred 2FA app in your smartphone to retrieve the six-digit security code. 

    Note:

    The 2FA app generates a new six-digit security code for your cPanel account every 30 seconds.

  2. Enter the six-digit security code that the app provides.

    Note:

    You must enter the security code within 30 seconds. After the time expires, the app generates a new six-digit code.

  3. Click Continue.

Use external authentication

Note:

cPanel & WHM introduced this feature in version 54.

To log in with external authentication, perform the following steps:

  1. Select the external authentication identity provider that you wish to use (for example, cPanelID, Google Accounts, Facebook, or your hosting provider's portal).
  2. If you must log in to the identity provider, the identity provider's login interface will appear. Enter your authentication credentials.
    • If you already own an account at the cPanel Store, the cPanel Tickets system, or the Manage2 billing system, use that username as your cPanelID.
    • If you do not already own an account at those websites, register for a cPanelID at the cPanel Tickets System Registration page.
  3. Authorize the provider to log in to your server, if needed.

The cPanel login interface appears and displays a message that confirms that you authenticated with the provider.

  • If you already linked the identity provider to a single cPanel account, the interface automatically logs you in.
  • If you already linked the provider to multiple cPanel accounts, a new interface appears. Select the desired cPanel account or click Link Another Account to link another cPanel account.
  • If you must link the identity provider to a cPanel account, you will see the following message:

    Your account is not associated with an existing "cPanel" account. Please log in to connect the account.
    

    Enter your username and password and log in to your server. This action will link the external account to your cPanel account.

How to access WHM

Note:

In the following examples,  192.168.0.1  represents your website or server's IP address and  example.com  represents your domain name. 

To access WHM, enter one of the following URLs in your preferred browser:

  • https://192.168.0.1:2087 — Access WHM over an encrypted connection with your IP address.
  • https://example.com:2087 — Access over an encrypted connection with your domain name.
  • http://192.168.0.1:2086 — Access WHM over an unencrypted connection with your IP address.
  • http://example.com:2086 — Access WHM over an unencrypted connection with your domain name.

Use WHM account

To log in with your WHM account, perform the following steps:

  1. Enter your WHM username in the Username text box.
  2. Enter your password in the Password text box.
  3. Click Log in.

If your account uses two-factor authentication, perform the following additional steps:

  1. Open your preferred 2FA app in your smartphone to retrieve the six-digit security code. 

    Note:

    The 2FA app generates a new six-digit security code for your WHM account every 30 seconds.

  2. Enter the six-digit security code that the app provides.

    Note:

    You must enter the security code within 30 seconds. After the time expires, the app generates a new six-digit code.

  3. Click Continue.

Use external authentication

Note:

cPanel & WHM introduced this feature in version 54.

To log in with external authentication, perform the following steps:

  1. Click the button that corresponds to the external authentication identity provider that you wish to use (for example: cPanelID, Google Accounts, Facebook, or your hosting provider's portal).
  2. If you must log in to the identity provider, the provider's login interface will appear. Enter your authentication credentials.
    • If you already own an account at the cPanel Store, the cPanel Tickets system, or the Manage2 billing system, use that username as your cPanelID.
    • If you do not already own an account at those websites, register for a cPanelID at the cPanel Tickets System Registration page.
  3. Authorize the provider to log in to your server, if needed.

The WHM login interface appears and displays a message that confirms that you authenticated with the provider.

  • If you already linked the identity provider to a single WHM account, the interface automatically logs you in.
  • If you already linked the provider to multiple WHM accounts, a new interface appears. Select the desired cPanel account or click Link Another Account to link another cPanel account.

  • If you must link the identity provider to a WHM account, you will see the following message:

    Your account is not associated with an existing "WHM" account. Please log in to connect the account.

    Enter your username and password and log in to your server. This action will link the external provider to your WHM account.

 

How to access Webmail

You can access Webmail directly through your browser or log in to Webmail through the cPanel interface.

Access Webmail directly

Note:

In the following examples,  192.168.0.1  represents your website or server's IP address and  example.com  represents your domain name. 

To access Webmail, enter one of the following URLs in your preferred browser:

  • https://192.168.0.1:2096 — Access your Webmail over an encrypted connection with your IP address.
  • https://example.com:2096 — Access your Webmail over an encrypted connection with your domain name.
  • http://192.168.0.1:2095 — Access your Webmail over an unencrypted connection with your IP address.
  • http://example.com:2095 — Access your Webmail over an unencrypted connection with your domain name.

You can log in with one of the following methods:

Use Webmail account

To log in with your Webmail account, perform the following steps:

  1. Enter your username in the Username text box.
  2. Enter your password in the Password text box.
  3. Click Log in.

Note:

For more information about our available webmail applications, read our Which Webmail Application Should I Choose documentation.

Use external authentication

Note:

cPanel & WHM introduced this feature in version 54.

To log in with external authentication, perform the following steps:

  1. Click the button that corresponds to the external authentication identity provider that you wish to use (for example: cPanelID, Google Accounts, Facebook, or your hosting provider's portal).
  2. If you must log in to the identity provider, the provider's login interface will appear. Enter your authentication credentials.
    • If you already own an account at the cPanel Store, the cPanel Tickets system, or the Manage2 billing system, use that username as your cPanelID.
    • If you do not already own an account at those websites, register for a cPanelID at the cPanel Tickets System Registration page
  3. Authorize the provider to log in to your server, if requested.

The Webmail login interface appear and displays a message which confirms that you authenticated with the provider.

  1. If you already linked the provider to a single Webmail account, the interface automatically logs you in.
  2. If you already linked the provider to multiple Webmail accounts, a new interface appears. Select the desired Webmail account or click Link Another Account to link another Webmail account.
  3. If you must link the provider to a Webmail account, you will see the following message:

    Your account is not associated with an existing "Webmail" account. Please log in to connect the account.
    

    Enter your username and password and log in to your server. This action links the external provider to your Webmail account.

Access webmail from the cPanel interface

To access Webmail from the cPanel interface, either click the Webmail icon in the Email section of the cPanel Home interface, or perform the following steps:

  1. Navigate to cPanel's Email Accounts interface (cPanel >> Home >> Email >> Email Accounts).
  2. Click Access Webmail under the Actions column in the row that corresponds to the email account that you wish to access Webmail. A new interface will appear.

Note:

For more information about our available webmail applications, read our Which Webmail Application Should I Choose documentation.

How to use SSH to log in to the command line

Many system administration tasks and some website administration tasks require that you access the server from the command line interface (CLI). For information about how to log in on the command line, read our How to Access the Command Line documentation.

Note:

Your hosting provider controls who can log in via the command line. If you require CLI access, contact your hosting provider. 

How to change an interface's locale

You can view an interface in a new language setting (locale). If you change an interface's locale, it sets a cookie in your browser that expires after one year. You must reset the locale whenever you log in to an account from a new browser, when you delete cookies, and after the cookie expires.

To change an interface's locale, click the desired locale name at the bottom of the interface. The interface will refresh and display a success message.

Note:

If your browser's Accept-Language header exists, then the login interface attempts to display the locale that corresponds to your browser setting. If the browser's header requests an unavailable locale, the login interface appears in English.

  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

How to change cPanel style

cPanel is currently in the process of x3 theme sunset. Since we strive to provide you with the...

How to access cPanel

To access cPanel, enter one of the following URLs in your preferred browser:...

cPanel Logout

To log out: Click on the logout button. This is located on the opening page of CPanel in both...

Server Status

This section of WHM allows you to view information about your server. This is helpful when you...

Email Accounts

Overview This interface allows you to add and manage email accounts for your domains.

Powered by WHMCompleteSolution