Invalid hostname during license trial setup

AlexPl8

Verified User
Joined
Oct 19, 2021
Messages
6
Hello, i'm trying to setup a trial license, however it is not letting me, saying IVALID HOSTNAME. I run Centos 8 and the hostname i'm entering is the same as i get when entering HOSTNAME command into the shell, which is Cli277192
Did anyone have the same problem?
 
When you do this in your linux terminal, does it return any IP?

Code:
dig server.yourhostname.com A +short
 
When you do this in your linux terminal, does it return any IP?

Code:
dig server.yourhostname.com A +short
I think I'm starting to see where the problem is. Unfortunately i do not have FQDN as a hostname (so i do not have .yourhostname.com part). During VULTR server setup it asked me to enter one, which i did, but i have no idea what a FQDN should be in this case. In case of my Linode server, which i was using for a while it generated proper domain name automatically during setup, so i was able to setup and use Directadmin on that one.
 
It wants a FQDN.
cli277192.your domain.com
Thank you, that clears it up for me. Only on my server FQDN wasn't generated during server setup, it asked me for a hostname so i entered random one that is not FQDN, I assumed setup script would append it with the rest of the address, but it didn't. I have no idea what it should be, i guess my server provider is the party that should be able to set one up.
 
I think I'm starting to see where the problem is. Unfortunately i do not have FQDN as a hostname (so i do not have .yourhostname.com part). During VULTR server setup it asked me to enter one, which i did, but i have no idea what a FQDN should be in this case. In case of my Linode server, which i was using for a while it generated proper domain name automatically during setup, so i was able to setup and use Directadmin on that one.
1) In your linode, you can create a new domain name with FQHN/FQDN call:

Code:
any_hostname.your_registered_domain.com

abc.com (this is not FQHN)
server.abc.com (this is FQHN)

2) and make sure that it has an A record point to your IPv4 address. This IP is your IPv4 DA license

3) and in your distribution terminal, make sure that you set the hostname like this:

Code:
hostnamectl set-hostname any_hostname.your_registered_domain.com

4) Before you start installing DA, make sure that the hostname is propagated with the previous command that I have given to you like:

Code:
dig any_hostname.your_registered_domain.com A +short

If it returns an IP, you are good to go. If the result is empty, you need to wait until it returns the IP address of your DA license else you will get error
 
1) In your linode, you can create a new domain name with FQHN/FQDN call:

Code:
any_hostname.your_registered_domain.com

abc.com (this is not FQHN)
server.abc.com (this is FQHN)

2) and make sure that it has an A record point to your IPv4 address. This IP is your IPv4 DA license

3) and in your distribution terminal, make sure that you set the hostname like this:

Code:
hostnamectl set-hostname any_hostname.your_registered_domain.com

4) Before you start installing DA, make sure that the hostname is propagated with the previous command that I have given to you like:

Code:
dig any_hostname.your_registered_domain.com A +short

If it returns an IP, you are good to go. If the result is empty, you need to wait until it returns the IP address of your DA license else you will get error
Thank you!! I've got it up and running now. Your help is much appreciated!
 
Back
Top