维基天空

January 9, 2008

3 steps for change hostname with cPanel

Filed under: cPanel日志 — admin @ 1:45 pm

Follow these 3 steps:
1. Type “hostname HOSTNAMEHERE”
2. Type “vi /etc/hosts” and edit your hostname there
3. Type “vi /etc/sysconfig/network” and edit your hostname there as well. If you do reboot the server the hostname goes back to the one originally set if you do not follow these 3 steps.

after that you will get Invalid License File problem, you can resolve it by following with this command :
/usr/local/cpanel/cpkeyclt

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress