Here we discuss how to find the hostname of a server using command line. This process will require that SSH access be established to the server.
Related Articles
SSH into Shared Server
Determine Server Hostname for FTP/SFTP Connection
Using Command Line to Find the Server Hostname
- SSH into the server
- Using the command
hostname
the server hostname will be displayed[userna5@ehub12 ~]$ hostname
TIP: If you prefer to not use command line the server's hostname can also be found in the Account Technical Details link in the Account Management Panel. The link is located in the block of icons beneath your primary domain name.
ehub12.inmotionhosting.com