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).


Log in

Note:
  • 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

howtologincpanellogin[1].png

To log in to the cPanel interface, perform the following steps:

  1. Enter the IP address or domain and the 2083 service port in your preferred browser (for example, 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.

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.

Note:

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:

  1. Enter your cPanel username in the Username text box.
  2. Enter your password in the Password text box.
  3. Click Log in. The cPanel Home interface will appear.

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

  1. Open your preferred 2FA app in your smartphone to generate a six-digit security code.
  2. Enter the provided six-digit security code.
  3. 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:

  1. Enter your WHM username in the Username text box.
  2. Enter your password in the Password text box.
  3. Click Log in. The WHM Home interface will appear.

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.
  2. Enter the six-digit security code that the app provides.

  3. 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:

  1. Use SSH to access the server as the root user.
  2. 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
  3. 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:

  1. Enter your username in the Username text box.
  2. Enter your password in the Password text box.
  3. 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:

  1. Navigate to cPanel’s Email Accounts interface (cPanel >> Home >> Email >> Email Accounts).
  2. 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.

Note:

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.

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.
  • 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.
  • cPanel, login, whm, WHM, control panel, server, vps, dedicated, hosting
  • 89 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset cPanel password from WHM?

WHM helps you to create and manage the cPanel accounts. The following tutorial will provide you...

How change your PHP version using our cPanel?

Changing the PHP version Our servers support multiple versions of PHP. To change the PHP version...