HOW TO FIX-“Your hostname is invalid” ERROR while cPanel installation [FIXED]

HOW TO FIX-“Your hostname is invalid” ERROR while cPanel installation [FIXED]

Most of the user while trying to install cPanel/WHM on CentOS 7  was greeted with an invalid hostname error.

Below is the error message:

Your hostname is invalid. Update the hostname to a fully qualified domain name and rerun the installer.

So in order to solve this you have to set your custom Hostname in your server by running this command via PuTTy

hostname host.yourdomain.com

[Note:Just make sure you point the correct hostname of your server]

We hope this article was clear enough to make you understand how to fix Invalid Hostname error while cpanel installation.

If you have any questions or queries, feel free to leave them in the comments section below.

CHEAP LINUX HOSTING|BEST WEB HOSTING
CHEAP LINUX HOSTING|BEST WEB HOSTING

Thanks for Reading!!!