Knowledge Base

How to determine your account's server name

This article describes how to determine the server name for a shared hosting or reseller hosting account. You may need to know the server name to configure or access account features, such as e-mail and FTP.

Using cPanel to determine the server name

You can use cPanel to determine the server name for an account. To do this, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the left column of the cPanel home screen, locate the Stats heading.
  3. Click expand stats. The Stats column expands to show you additional information about your account.
  4. Locate the Server Name row and note the value.
  5. To determine the full server name for your account:
    • If you have a shared hosting account, add a2hosting.com to the Server Name value. For example, if cPanel displays a2s78 for your server name, then the complete server name is a2s78.a2hosting.com.
    • If you have a reseller hosting account, add supercp.com to the Server Name value. For example, if cPanel displays sr10 for your server name, then the complete server name is sr10.supercp.com.

Using the command line to determine the server name

You can use the command line to determine the server name for an account. To do this, follow these steps:

  1. Log in to your account using SSH.
  2. At the command line, type the following command:
    hostname

    The full server name for your account appears.