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
  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What kind of software can I install on my VPS?

As you have full root access, you may install any compatible software on your VPS. However, any...

Allow / deny ping on Linux server using CSF Firewall

On this post we will learn how to allow / deny ping on Linux servers, this is useful for both...

Can I install cPanel or Plesk on my VPS?

Yes. We have automated installation process configured, so if you choose to buy cPanel for your...

What is Virtuozzo?

Virtuozzo is the VPS technology created by SWsoft which allow us to create isolated VPS servers...

How to Reduce High Memory Usage by Apache / HTTPD on a cPanel Server ?

If Apache / HTTPS is using lots of memory on your server, here is how you can optimize Apache on...