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.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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:
Open the file /etc/sysconfig/network and set the HOSTNAME variable to a valid hostname (ex: server.yourdomain.tld)
Run this command as well: hostname server.yourdomain.tld
Rerun the installer