Change a server's hostname in NTC Virtual Appliance

Change a server's hostname in NTC Virtual Appliance

By default, NTC server is started with the server’s given name as the hostname. However, certificates requires a valid fully qualified domain name (FQDN) for the hostname for proper verification.
This article describes how to change a server hostname in NTC Virtual Appliance.


Change a server’s hostname

  1. Login to NTC VA in the console or using SSH.

  2. Using a text editor, open the server’s /etc/sysconfig/network file. The following example shows how to open this file in the GNU nano text editor:

     # sudo nano /etc/sysconfig/network
  3. Modify the HOSTNAME= value to match your FQDN hostname, as shown in the following example:

     HOSTNAME=myserver.domain.com
  4. Open the file at /etc/hosts. To update the information for internal networking, change the host that is associated with the main IP address for your server, as shown in the following example:

     127.0.0.1      localhost localhost.localdomain
     123.45.67.89   hostname.domain.com   hostname
     ~
     ~
     ~
     ~
     -- INSERT --                         2,43-57    ALL
  5. Run the hostname command. This command enables you to change the hostname on the server that the command line remembers, but it does not actively update all of the programs that are running under the old hostname. The following code provides an example:

     [root@defiant ~]# hostnamectl set-hostname hostname.domain.com
     [root@defiant ~]# hostname
     hostname.domain.com
  6. Use the following command to restart networking on your server to ensure that changes persist on restart:
      # /etc/init.d/network restart

    • Related Articles

    • SSL Certificate/Certification Security Enabling

      Product Line:  VERDE Question From a Customer: I have been asked about encryption using HTML (SSL certificates) or securing sessions from remote locations teleworkers using ncomputing thin clients. I need to enable SSL for our environment.   We have ...
    • How to add or replace the Self-Signed SSL Certificate in PMC

      Scope If your local business or production environment’s security demands for you to have custom certificates, there is a way to obtain them and apply them to PMC. Note that NComputing does not provide the certificates, but you can obtain your own ...
    • How to replace the SSL certificate used by the vSpace Console Server

      Scope Starting with vSpace Pro Enterprise (version 12.8.0 and higher), it supports the use of custom TLS/SSL certificates used by the vSpace Console. The NComputing vSpace Console Server service (running as the CMServer.exe process) is a component of ...
    • Update NTC

      Login to NoTouch VA Admin Portal by accessing URL https://ntc_ipaddress/va-admin  or by accessing NTC Login Page and clicking on "VIRTUAL APPLIANCE (CONTAINER) ADMINISTRATION" link under Login button. In the NTC Virtual Appliance Administration page, ...
    • SSL Certificate Back Out Procedure

      Product Line: VERDE There have been instances where a customer has used and imported an invalid SSL Certificate. This can be easily backed out. Simply access the VERDE server that's running the Cluster Master. SSH/Putty into the server and access the ...