How to Change Your Hostname in Ensim

October 2009 • By adminEnsim

Changing the hostname in Ensim control panel requires modifying both the server hostname and the Ensim configuration. This guide explains how to do it correctly.

Prerequisites

  • Root SSH access to your server
  • Administrative access to Ensim control panel

Step 1: Change System Hostname

SSH to your server as root and change the hostname:

hostname new.hostname.com

Make the change permanent by editing /etc/sysconfig/network:

HOSTNAME=new.hostname.com

Step 2: Update /etc/hosts

Edit /etc/hosts and update the server IP to hostname mapping:

192.168.1.1   new.hostname.com

Step 3: Update Ensim Configuration

Log into the Ensim admin panel and navigate to Server Management → Server Properties. Update the hostname to the new value.

Step 4: Restart Services

Restart the relevant services:

service httpd restart
service named restart