Change Hostname - Control Panel - via SSH

26 December 2009, 8:16 PM

cPanel 11 WHM will most likely solve all these errors, however, if you still facing problem, try the following steps to change hostname properly:

  • Login to server via SSH as root.
  • Run the following command to change host name: hostname servername.domain.com
  • Change servername.domain.com to a hostname you desired based on your domain name.
  • Run the following command to update cPanel license information to avoid invalid cPanel license error: /usr/local/cpanel/cpkeyclt


Categories

All
General
Applications
Code
Networking
 

 

 

Recent blog posts

4

Cent OS adding port into iptables - command line SSH
4 August 2013, 10:06 AM - Read More
   

17

Convert NSTimeInterval to NSString - iOS Development
17 September 2012, 4:38 PM - Read More
   

12

Find string in NSArray and return index of string - iOS Development
12 September 2012, 3:54 PM - Read More
   

Recent apps

Slots!
Read More
   
MobileRota
Read More
   
Eleven2
Read More
   

 

Customer Support

Need help with a product?
Product Support


Contact

Drop us a line?
hello@olliekett.com
   
Follow us on Twitter
@okdltd