Finding Details About Your Server

There are many tasks that require you to know your server’s name (and domain name), operating system, or IP address. The following sections will help you find these important details.

Finding Your Server’s Name

Your server’s domain name identifies your server to others. Some commands or services may require your server’s name or your server’s domain name.

You server’s name takes one of the following forms:

  • webx, where x is a number, such as web321
  • dweby, where y is a number, such as dweb123
  • wf-a-b-c-d-e, where a-b-c-d-e is series of numbers separated by hyphens, such as wf-203-0-113-1

Your server’s domain name is always of the form name.webfaction.com. For example, web321‘s domain name is web321.webfaction.com and wf-203-0-113-1‘s domain name is wf-203-0-113-1.webfaction.com.

To find your server’s name:

  1. Log in to the WebFaction control panel.

  2. In the Dashboard, find the Web Server widget.

    Note

    Can’t find the Web Server widget? Try these steps:

    1. Click the Add a widget button. The Add a widget dialog appears.
    2. In the Select a widget menu, choose Web Servers.
    3. Click the Add Widget button.
  3. Find your server’s name in the list. If you have more than one server associated with your account, all of your servers will be in the list.

Finding Your Server’s Operating System

WebFaction’s servers run the following operating systems:

Operating System Servers Names
CentOS 5 (32-bit) <= web299 and <= dweb88
CentOS 6 (64-bit) web300 to web499 and >= dweb89
CentOS 7 (64-bit) >= web500 and servers starting with wf

You can also check a server’s operating system version directly. To find your server’s operating system:

  1. Open an SSH session to your account.
  2. Enter cat /etc/redhat-release and press Enter. The version number appears.

Finding Your Server’s IP Address

Each WebFaction server has two or more unique IP (Internet Protocol) addresses. To find your server’s IP addresses:

  1. Log in to the WebFaction control panel.

  2. In the Dashboard, find the Web Server widget.

    Note

    Can’t find the Web Server widget? Try these steps:

    1. Click the Add a widget button. The Add a widget dialog appears.
    2. In the Select a widget menu, choose Web Servers.
    3. Click the Add Widget button.
  3. Find your server’s IP addresses in the list. If you have more than one server associated with your account, all of your servers and their IP addresses appear in the list.

    IPv4 addresses have four numbers separated by dots (like 203.0.113.1). IPv6 addresses contain digits and letters separated by colons (like 2001:db8:85a3::8a2e:370:7334).

    Primary IP addresses are indicated by a dagger symbol (†). Secondary IP addresses are indicated by a double-dagger symbol (‡).

You can also check a server’s primary IP address in a shell session. To find your server’s primary IP address:

  1. Open an SSH session to your account.
  2. Enter hostname --ip-address and press Enter. The server’s primary IP address appears.