Overview
This document explains how to log in to cPanel, WHM, Webmail, and the Command Line Interface (CLI).
Log in
- This document uses the following examples:
192.168.0.1
represents the server’s IP address.example.com
represents the server’s domain address.
-
cPanel
To log in to the cPanel interface, perform the following steps:
- Enter the IP address or domain and the
2083
service port in your preferred browser (for example,https://192.168.0.1:2083
). - Enter your cPanel username in the Username text box.
- Enter your password in the Password text box.
- Click Log in.
Two-factor authentication
Two-factor authentication provides 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.
2FA supports only one concurrent session for any user. If you open several browser windows to cPanel & WHM and log out in one of them, the server logs out all the other windows.
How to access cPanel
To access cPanel, enter the IP address or domain and the 2083
port in your preferred browser. For example:
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.
You can log in with one of the following methods:
Use your cPanel account
To log in with your cPanel account, perform the following steps:
- Enter your cPanel username in the Username text box.
- Enter your password in the Password text box.
- Click Log in. The cPanel Home interface will appear.
If your account uses two-factor authentication, perform the following additional steps:
- Open your preferred 2FA app in your smartphone to generate a six-digit security code.
- Enter the provided six-digit security code.
- Click Continue.
How to access WHM
-
WHM
To access WHM, enter the IP address or domain and the 2087
port in your preferred browser. For example:
https://192.168.0.1:2087
— Access WHM over an encrypted connection with your IP address.https://example.com:2087
— Access WHM over an encrypted connection with your domain name.
You can log in with one of the following methods:
Use WHM account
To log in with your WHM account, perform the following steps:
- Enter your WHM username in the Username text box.
- Enter your password in the Password text box.
- Click Log in. The WHM Home interface will appear.
If your account uses two-factor authentication, perform the following additional steps:
- Open your preferred 2FA app in your smartphone to retrieve the six-digit security code.
-
Enter the six-digit security code that the app provides.
-
Click Continue.
Use the whmlogin script
The /usr/local/cpanel/scripts/whmlogin
the script generates a single-use session login URL for WHM. To access WHM with this script, perform the following steps:
- Use SSH to access the server as the
root
user. - Run the
/usr/local/cpanel/scripts/whmlogin
script. The output will resemble the following example:https://192.168.0.1:2087/cpsess1234567890/login/?session=root%3aAqI0aGGAFWI_Mab_%3acreate_user_session%2c31cd420f0fd6aca696a2890f580f2f0a
- Navigate to the provided URL in your preferred browser. The WHM Home interface will appear.
How to access Webmail
-
Webmail
You can access Webmail directly through your browser or log in to Webmail through the cPanel interface.
Access Webmail directly
To access Webmail, enter the IP address or domain and the 2096
port in your preferred browser. For example:
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.
You can log in with one of the following methods:
Use Webmail account
To log in with your Webmail account, perform the following steps:
- Enter your username in the Username text box.
- Enter your password in the Password text box.
- Click Log in. The Webmail interface will appear.
Access Webmail from the cPanel interface
To access Webmail from the cPanel interface, perform the following steps:
- Navigate to cPanel’s Email Accounts interface (cPanel >> Home >> Email >> Email Accounts).
- Click Check Email in the actions column in the row that corresponds to the email account that you wish to access Webmail. The Webmail interface will appear.
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.
If you require CLI access, Please Contact us, submit a ticket.
Change the login interface’s locale
To change the log-in interface’s locale, click the desired locale’s name at the bottom of the interface. If you do not see your locale, click to display a full list of available locales. After you select a new locale, the log-in interface will refresh using the new locale.
- 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. - When you change the locale, the interface 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.