Changing Server Hostname

To change your hostname, enter the following command as root:

$ hostname servername.yourdomain.com

If you are using cPanel, you will need to resync your license with the cPanel license server. To do this, use the following command:

$ /usr/local/cpanel/cpkeyclt

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install Zend OPcache in DirectAdmin

Zend OPcache is basically a modern PHP script caching module which helps to accelerate the PHP...

Migrate accounts from DirectAdmin to DirectAdmin

DirectAdmin is a web-hosting control panel with Graphical interface for managing websites on a...

How to Set Mail Server in DirectAdmin?

In this tutorial, we are going to see how to set the mail server in DirectAdmin. DirectAdmin...

Install WordPress on DirectAdmin Using Installatron

WordPress is very easy to install and you can create a website in WordPress even if you don’t...

What additional things can I do to Secure my Dedicated or VPS server?

1. Change your SSH port to a higher non used port 2. Disable Direct root Log in for SSH (make...