Hostname is a label assigned to a device connected to a computer network used to identify the device.

learn more… | top users | synonyms

59
votes
6answers
40k views

Setting the hostname: FQDN or short name?

I've noticed that the "preferred" method of setting the system hostname is fundamentally different between Red Hat/CentOS and Debian/Ubuntu systems. CentOS documentation and the RHEL deployment guide ...
56
votes
6answers
2k views

Choosing between meaningful and meaningless hostnames

Assume an environment with a puppet-managed cluster of different servers - various hardware, software, operating systems, virtual/dedicated, etc. Would you choose meaningful hostnames ...
18
votes
17answers
5k views

What are the most manageable and interesting server naming schemes being used? [closed]

I am curious to see what schemes are being used when naming servers...
11
votes
19answers
11k views

Naming Conventions [duplicate]

Possible Duplicate: What are the most manageable and interesting server naming schemes being used? How do you decide on a new hostname?
19
votes
5answers
5k views

Hostnames - What are they all about?

I've recently been "forced" to perform some sysadmin work, while this isn't something that I absolutely love doing I've been reading, experimenting and learning a lot. There is one fundamental aspect ...
10
votes
5answers
14k views

How do I change Exim4's primary_hostname on a Debian box?

Some remote SMTP server I am trying to deliver mail to refuses to accept the HELO from my server: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname Apparently, my ...
64
votes
2answers
21k views

Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?

This may be a bit of a noobish question, but I was taking a look at /etc/hosts on my new Xubuntu install and saw this: 127.0.0.1 localhost 127.0.1.1 myhostname On most 'nixes I've used, the second ...
6
votes
1answer
11k views

“My unqualified host name (foo.bar) unknown” Problem

When trying to start sendmail or send a mail using a wordpress plugin, this error shows up in the maillog: "My unqualified host name (foo.bar) unknown; sleeping for retry" After Googling the best ...
9
votes
7answers
4k views

Linux command line utility to resolve host names using /etc/hosts first

There are several command line utilities to resolve host names (host, dig, nslookup), however they all use nameservers exclusively, while applications in general look in /etc/hosts first (using ...
45
votes
5answers
370k views

How to determine the hostname from an IP address in a Windows network?

My LAN has 50 Windows hosts. At the Windows command line I try ping to get the IP address of a running Windows machine. The question is how to get hostname of a specific IP address in the same ...
30
votes
7answers
28k views

Is it possible to alias a hostname in Linux?

Is it possible to alias a hostname in Linux? It has been asked by jmillikin at various Ubuntu forums as follows: Is it possible to create a hostname alias? Sort of like /etc/hosts, but with other ...
8
votes
2answers
2k views

How can I send visitors to the closest server using DNS?

Is there a way to localize dns entries? Meaning, that users from asia resolve mydomain.com to another ip than users from usa or europe. This would be helpful to give the users the server nearby. DNS ...
8
votes
2answers
7k views

/etc/hosts , /etc/sysconfig/network and hostname?

I need to do the hostname changes on a centos server which will serve www.myserver.com What do I need to do in /etc/hosts, /etc/sysconfig/network and with the hostname command? In ...
12
votes
1answer
1k views

Linux - if I change the hostname, which services need to be restarted?

I'm making some system hostname changes across a few environments and this got me thinking... When I change a server's hostname (live), what needs to be modified and which system services require a ...
4
votes
4answers
3k views

A good hostname convention for few servers with many different services?

I am looking at setting up a hostname convention for our servers based on the service they provide, such as http, https, smtp, pop, dns, sql, etc. Each service is on its own virtual machines on a Xen ...
1
vote
2answers
1k views

Some questions regarding Hostname

I just bought a new VPS hosting plan and i have a few questions. Hope someone here can clear the doubts for me. 1) Is it necessary to have a real domain for a vps hostname? I suppose i can just ...
0
votes
2answers
1k views

Dig vs Whois on Nameserver Update and Reference to Unknown FQDN?

After running a dig on an old domain name moved from an old server to a new one, completely different IP and provider, I ran a dig and found that the listed nameserver does not match the one in the ...
2
votes
4answers
8k views

Determining the name of the VMware host of a VM guest - from the guest

Is it possible to determine the name of the VMware host (ESX or ESXi) that my guest resides in, from within the guest itself? I would expect this to be possible via VMware Tools, but am not sure ...
1
vote
2answers
555 views

Two machines on the network with the same hostname

There are two machines on my network that have the same hostname. I verified it by typing # hostname on the terminal. The effect is that I can only view one of the two machines on the Network, from ...
1
vote
4answers
584 views

Debian Hostname refusing to stick

I'm using virtualbox for testing and have the latest stable Debian. When I try to set the hostname of the machine using both: hostname ayil and editing /etc/hostname and running ...
0
votes
2answers
3k views

How to find IP address by host name(or alias)?

Hi I been asked to check IP address by host name(or alias) in Redhat servers. In some sh scripts, there is a code of lftp opening connection to external ftp servers. First lftp connection uses ...
0
votes
2answers
76 views

Web application in a network environment

I have a web application running on an apache web server on Ubuntu 10.04. The web application can be accessed via a web browser on the server's computer by typing http://localhost/webapp. I want to ...