View Single Post
  #1  
Old 17th October 2005, 02:25
Lil'Brudder Lil'Brudder is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Question What should hostname be?

Sorry if this is a no-brainer question, I've been running a windows server for years and this is my first real attempt at converting to Linux.

I'm using Fedora Core 4 and following The Perfect Setup - Fedora Core 4 and have a question about the hostname and how it affects ISPConfig.

During Fedora installation setup, the instructions say:

Code:
Set the hostname manually, e.g. server1.example.com, and enter a gateway (e.g. 192.168.0.1) and up to three DNS servers (e.g. 145.253.2.75 and 193.174.32.18):
Should this be set to ie. 'www' or should this be set to ie. 'www.domain.com'?

Then, later in the same installation instructions, after Fedora has been installed and we're configuring it, it says:

Code:
Setting The Hostname

echo server1.example.com > /etc/hostname 
/bin/hostname -F /etc/hostname
The reason I'm asking is because later, during the ISPConfig installation, it also asks to set the hostname

Code:
Please enter the host name: E.g. www
Please enter the domain: E.g. xyz.de
But, it also asks to set the domain name... so, I'm confused because if you use www.domain.com in the fedora hostname then, if you use the same naming convention, aren't you effectively setting hostname/domain name to www.domain.com.domain.com?

Also, after considering this further, does the fedora hostname configuration have to be the same as the ISPConfig hostname configuration?

Can I set the Fedora hostname to be 'server' and then the ISPConfig hostname to be 'www' and the domain name to be domain.com?

I know this is a technical question and maybe a no-brainer, but for some reason, this issue has affected my previous installations in ways I didn't expect and just want to understand how it works.

Thanks,
Lil'Brudder

Last edited by Lil'Brudder; 17th October 2005 at 02:58.
Reply With Quote
Sponsored Links