How to Log In to Your Server or Account

This article explains how to log in to cPanel, WHM, Webmail, and the Command Line Interface (CLI). It also covers service URL structure, external authentication, two‑factor authentication (2FA), locale selection, and resolving SSL login warnings.

Webmail authenticationWHM accesscPanel login

~3 min read • Updated Feb 14, 2026

1. Introduction


This guide explains how to access cPanel, WHM, Webmail, and the CLI. The examples use IP 198.51.100.1 and domain example.com.


2. Understanding cPanel & WHM Service URLs


SectionDescriptionExample
ProtocolAlways https:// for secure accesshttps://
AddressServer IP or domain nameexample.com
PortService port (e.g., 2083 for cPanel)2083
Security TokenSession token (cpsess) to prevent XSRFcpsess1234567890

Note: If DNS has not propagated, use the IP address instead of the domain. DNS propagation may take 48–72 hours.


3. How to Log In to cPanel


3.1 Direct Login URLs

  • https://198.51.100.1:2083
  • https://example.com:2083

3.2 Log In with cPanel Credentials

  • Enter your cPanel username.
  • Enter your password.
  • Click Log in.

3.3 Log In with External Authentication

Your hosting provider may allow login using:

  • cPanelID
  • Google
  • Facebook
  • Hosting provider portal

If multiple cPanel accounts are linked, you will be prompted to choose one.


3.4 Log In with Two‑Factor Authentication (2FA)

  • Open your 2FA app.
  • Enter the six‑digit code.
  • Click Continue.

Note: 2FA allows only one active session at a time.


4. How to Log In to WHM


4.1 Direct Login URLs

  • https://198.51.100.1:2087
  • https://example.com:2087

Note: Only root or reseller users can access WHM.


4.2 Log In with WHM Credentials

  • Enter your WHM username.
  • Enter your password.
  • Click Log in.

4.3 Log In with External Authentication

Similar to cPanel, select your external provider and authenticate.


4.4 Log In Using the whmlogin Script

To generate a one‑time login URL:


/usr/local/cpanel/scripts/whmlogin

Open the generated URL in your browser.


5. How to Log In to Webmail


5.1 Direct Login URLs

  • https://198.51.100.1:2096
  • https://example.com:2096

5.2 Log In with Webmail Credentials

  • Enter your email address.
  • Enter your password.
  • Click Log in.

5.3 Log In with External Authentication

Same process as cPanel and WHM.


5.4 Access Webmail from Inside cPanel

  • Go to Email Accounts.
  • Click Check Email next to the desired account.

6. How to Access the Command Line (SSH)


Some administrative tasks require CLI access. Your hosting provider controls SSH permissions. For details, refer to the “How to Access the Command Line” documentation.


7. Change the Login Interface Locale


At the bottom of the login page, select your preferred language. If your browser sends an Accept‑Language header, the interface attempts to match it.


A cookie stores your locale for one year.


8. Resolve SSL Login Warning


If you see the message “There is a problem with this website’s security certificate.”, refer to the “Automatic Hostname SSL Certificate Replacement” documentation.


Conclusion


This guide covers all login methods for cPanel, WHM, Webmail, and CLI. Understanding service URLs, external authentication, and 2FA helps ensure secure and efficient server access.


Written & researched by Dr. Shahin Siami