How to Change the Hostname of a NetScaler Appliance

How to Change the Hostname of a NetScaler Appliance

book

Article ID: CTX130146

calendar_today

Updated On:

Description

This article describes how to change the hostname of a NetScaler appliance to reflect the same as that in the license file.

Background

At times, you might need to change the hostname of a NetScaler appliance to reflect the license file installed on the appliance. By default, the hostname for the NetScaler VPX appliance is ns. However, the license file specifies the MAC address as the hostname for the appliance. This is specifically required for Access Gateway Enterprise Edition licenses.


Instructions

Using CLI
 

  1. Login to the ADC Using a SSH Utility and run the following command:
set ns hostname <hostname>
 


Using GUI

The hostname of a Citrix ADC can be changed through the Configuration Utility.

  1. Select Configuration Tab

  2. Select Settings on the top right and click on the Hostname tab to change the hostname

    image.png
     

    Note: This change is also reflected in the rc.conf file. It has the same effect as making changes directly to the rc.conf file by using shell prompt:
    root@test1# cat rc.conf
    hostname="test"root@test#

Issue/Introduction

This article describes how to change the hostname of a NetScaler appliance to reflect the same as that in the license file.