getting error as “Invalid Hostname. (This account is currently not available.). Hostnames must be fully…..” at login to WHM
You need to set the hostname fully in your server.
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 followed above 3 steps, you will get Invalid License File problem, you can resolve it by following command:
/usr/local/cpanel/cpkeyclt