2018-08-07 12:26:55 540 ( INFO): Validating that the system hostname (‘centos-s-1vcpu-1gb- sgp1-01’) is a FQDN…
2018-08-07 12:26:55 546 (ERROR):
2018-08-07 12:26:55 547 (ERROR): ********************* ERROR *********************
2018-08-07 12:26:55 548 (ERROR):
2018-08-07 12:26:55 549 (ERROR): Your hostname (centos-s-1vcpu-1gb-sgp1-01) is invalid, an d must be
2018-08-07 12:26:55 550 (ERROR): set to a fully qualified domain name before installing cP anel.
2018-08-07 12:26:55 551 (ERROR):
2018-08-07 12:26:55 552 (ERROR): A fully qualified domain name must contain two dots, and consists of two parts: the hostname and the domain name.
2018-08-07 12:26:55 553 (ERROR): You can update your hostname by running hostname your-ho stname.example.com
, then re-running the installer.
2018-08-07 12:26:55 555 (ERROR): ********************* ERROR *********************
2018-08-07 12:26:55 556 (FATAL): Exiting…
how to install whm and cpanel in in domain
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, rajendrancreative
You need a fully qualified domain name as your server hostname. Run this command in order to set the hostname
hostname host.domain.net
Also please make sure to check our existing tutorial on how to install cPanel:
https://www.digitalocean.com/community/tutorials/how-to-install-cpanel-on-a-virtual-server-running-centos-6
Regards, Alex
Hello friend!
Though this documentation is a bit older, it should be quite fine for the task. Basically, you need a fully qualified domain name as your server hostname. Check out this guide:
https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/set_hostname_fqdn_on_ubuntu_centos.md
Kind Regards, Jarland