While installing WHM and Cpanel facing errors

August 7, 2018 321 views
Initial Server Setup CentOS

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

1 Answer

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

Have another answer? Share your knowledge.