FQDN problem when install cpanel / whm trial
Hello, I am trying to install the trial version of cpanel, but when trying to do it I get the following error, which I try to fix according to the indication that appears by typing
hostname www. How do i solve this?
2020-12-20 09:31:39 718 [979] ( INFO): Validating that the system hostname ('web123.com') is a FQDN...
2020-12-20 09:31:39 724 [979] (ERROR):
2020-12-20 09:31:39 725 [979] (ERROR): ********************* ERROR *********************
2020-12-20 09:31:39 726 [979] (ERROR):
2020-12-20 09:31:39 727 [979] (ERROR): Your hostname (web123.com) is invalid, and must be
2020-12-20 09:31:39 728 [979] (ERROR): set to a fully qualified domain name before installing cPanel.
2020-12-20 09:31:39 729 [979] (ERROR):
2020-12-20 09:31:39 730 [979] (ERROR): A fully qualified domain name must contain two dots, and consists of two parts: the hostname and the domain name.
2020-12-20 09:31:39 731 [979] (ERROR): You can update your hostname by running `hostname your-hostname.example.com`, then re-running the installer.
2020-12-20 09:31:39 733 [979] (ERROR): ********************* ERROR *********************
2020-12-20 09:31:39 734 [979] (FATAL): Exiting...
2020-12-20 09:32:39 719 [1110] (FATAL): The installation process detected the following hostname:
-
Recommended hostnames are [COLOR=rgb(65, 168, 95)]example01.yourdomain.com, server01.yourdomain.com, host01.yourdomain.com, anything.yourdomain.com. So in your case, you can set hostname as server.web123.com OR host.web123.com
as a fully qualified domain name. For CentOS 7 use the below command to set the hostname.#hostnamectl set-hostname server.web123.com
Once you set a valid hostname installation should be good.0 -
Just to add in, you can't use the 'www' host name as it does not want the host name to be a site that you might host. Hopefully that makes sense. 0 -
As the above two posts said, you want your hostname to be unique and *not* something that may ever host web content. Once that is setup the installer will work properly. 0 -
thanks for the help! 0 -
Sure thing! 0
Please sign in to leave a comment.
Comments
5 comments