Hostname question

3 posts / 0 new
Last post
#1 Tue, 02/09/2010 - 12:20
st00dent

Hostname question

Hi,

I just got a new VPS server and would like to install Virtualmin on it. I noticed that the installation guide says a fully qualified hostname must be configured on the system.

I set a hostname when I registered the account, and if I type in hostname in SSH, it returns as I entered it. ie:

myhostname

not

myhost.myhostname.com

How would I be expected to enter this during the installation? (Is this even correct?)

Apologies for the simple question, this is my first venture into server administration.

Any advice appreciated.

Thanks.

Tue, 02/09/2010 - 12:49
andreychek

Whenever you're asked for the FQDN, I'd enter:

yourhostname.yourdomainname.com

And later, if you're running DNS on your own server, you'll want to setup an "A", or "Address", record for "yourhostname.yourdomainname.com" whenever you add "yourdomainname.com" as a Virtual Server in Virtualmin.

You can add "A" records by going into Services -> DNS Domain -> Address.

-Eric

Tue, 02/09/2010 - 13:40 (Reply to #2)
st00dent

Hi,

f I do hostname --fqdn, I still just get

'myhostname'

Then when running the install.sh, I get the message:

INFO - Checking for fully qualified hostname... INFO - Hostname myhostname is not fully qualified.

Should I proceed anyway?

Thanks.

Topic locked