ROCKHOST.COM, Inc.
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Website Hosting
    • Streaming Servers
    • SSL Certificates
    • Website Backup
    • Register a New Domain
    • Transfer Domains to Us
  • Newsletter
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Home
  2. Knowledgebase
  3. VPS Support
  4. Changing Server Hostname

  Categories

General Support
53
Pre-Sales Inquiries
28
Questions and Answers
5
VPS Support
13

  Categories

  Support

My Support Tickets
Newsletter
Knowledgebase
Downloads
Network Status
Open Ticket

Changing Server Hostname Print

  • 966

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


Was this answer helpful?

Related Articles

cPanel: Unactive License File cPanel may spit out a "Unactive License File" error when new IP addresses or added or when your... How do I know what server I am on? You can find out what server you are on using two different ways, each one revealing which server... Migrating Accounts to your server Most control panels have built in control panel to control panel migration tools that you can... Howto Re-Install cPanel/WHM and DirectAdmin To Re-Install cPanel: 1. Reformat your VPS (rebuild) 2. You need to ensure that yum is... Howto Register Name Servers There are many registars in the world with different panels, however we have provided a...
« Back

  Support

My Support Tickets
Newsletter
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2026 ROCKHOST.COM, Inc.. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Generate Password

Please enter a number between 8 and 64 for the password length