Question

error instal cpanel

how f ix this error

2018-09-28 02:26:59 547 (ERROR): ********************* ERROR ********************* 2018-09-28 02:26:59 548 (ERROR): 2018-09-28 02:26:59 549 (ERROR): Your hostname (centos-s-1vcpu-2gb-lon1-01) is invalid, and must be 2018-09-28 02:26:59 550 (ERROR): set to a fully qualified domain name before installing cPanel. 2018-09-28 02:26:59 551 (ERROR): 2018-09-28 02:26:59 552 (ERROR): A fully qualified domain name must contain two dots, and consists of two parts: the hostname and the domain name. 2018-09-28 02:26:59 553 (ERROR): You can update your hostname by running hostname your-hostname.example.com, then re-running the installer. 2018-09-28 02:26:59 555 (ERROR): ********************* ERROR ********************* 2018-09-28 02:26:59 556 (FATAL): Exiting… Removing /root/installer.lock.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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, bodyguardtanjungmas

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

You need to:

  1. Open the file /etc/sysconfig/network and set the HOSTNAME variable to a valid hostname (ex: server.yourdomain.tld)

  2. Run this command as well: hostname server.yourdomain.tld

Rerun the installer