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

learn more… | top users | synonyms (1)

117
votes
7answers
134k 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 ...
75
votes
6answers
55k views

Top level domain/domain suffix for private network?

At our office, we have a local area network with a purely internal DNS setup, on which clients all named as whatever.lan. I also have a VMware environment, and on the virtual-machine-only network, I ...
6
votes
3answers
356 views

Definition of Fully qualified domain name

I tried to search to Internet for a definition of a FQDN. Wikipedia says, a FQDN specifies its exact location in the tree hierarchy of the Domain Name System (DNS) I would interpret this, that ...
9
votes
2answers
5k 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 ...
30
votes
6answers
14k 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 ...
2
votes
1answer
146 views

Linux Hosting: What is the purpose of setting hostname/FQDN in hosts file?

I just bought a Linode VPS hosting plan and was following this guide to set up. In the "Setting the Hostname" section and "Update /etc/hosts " section, it says the FQDN/hostname to be set here does ...
136
votes
2answers
66k 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 ...
20
votes
17answers
12k 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...
31
votes
7answers
49k views

Is it possible for two hostnames share the same IP address?

Can anyone explain whether it is possible for two hostnames to share the same IP address? And what about if one hostname represents more than one IP address, is that possible too? Why?
15
votes
1answer
25k 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 ...
21
votes
9answers
18k 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 ...
8
votes
10answers
2k views

Naming convention for computers [duplicate]

Possible Duplicate: Naming convention for PC in a network What naming convention your organization uses for identifying computers within the organization. These are internal for the developers'...
12
votes
1answer
2k 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 ...
8
votes
5answers
3k views

Correctly setting the hostname - Fedora 20 on Amazon EC2

Context I have a Fedora 20 cloud image running on Amazon EC2 (henceforth called the "instance"). And I have some uncertainty about persistently setting its hostname. Goal In this case, let's say I ...
6
votes
2answers
23k views

Setup IIS 7.5 with multiple website bindings and SSL?

On IIS 7.5 I am trying to achieve this with two websites: Default Web Site is bound to: (blank host header port 80 - http) (blank host header port 443 - https) go.example.com www71.example.com the ...
2
votes
3answers
5k views

Postfix: mails sent through sendmail binary are blocked because of wrong HELO

My server is using Centos 6.5 I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17. Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected ...
3
votes
3answers
24k 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 ...
64
votes
6answers
499k 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 ...
13
votes
2answers
21k views

How to divert traffic based on hostname using HAProxy?

I've had some initial success with HAProxy setting up a bunch of app servers listening on various other ports. I now have another webserver listening on one port, and i'd like to what changes to make ...
11
votes
19answers
22k 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?
10
votes
2answers
12k 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 /etc/sysconfig/...
16
votes
6answers
28k 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 ...
5
votes
4answers
15k views

Setting new hostname on CentOS, it changes back after restart

On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command. I want to change it to 'localhost.localdomain' because ...
2
votes
2answers
396 views

nslookup not resolving hostname

I can't seem to get nslookup to resolve correctly. Here is my hosts file: [root@clc-host ge2011.11]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 ...
7
votes
1answer
6k views

How to set the hostname for a Debian Jessie system?

Debian Jessie comes with systemd. The recommendation to set the hostname is using hostnamectl for systemd. However, this command does not work (even to display the current hostname) on the Debian ...
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 ...
2
votes
4answers
1k 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 /etc/init.d/...
1
vote
2answers
3k 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
2k 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 ...
9
votes
4answers
14k views

Is the hostname case sensitive?

Is the hostname case sensitive? Is ping MYHOST equal to ping myhost Does it depend on the DNS used? Are there differences between Win/Mac/Unix systems?
3
votes
1answer
156 views

Does not having FQDN in /etc/hosts cause any problems?

Just been looking through some servers and seen that the external ip is set up with the full and short names the wrong way round, e.g.: a.b.c.d myserver myserver.mycompany.org What sort of problems ...
1
vote
1answer
2k views

MySQL command appends '@localhost' to username

I just can't seem to figure this one out. I want to use the command line to connect to a MySQL database residing on another server. I went ahead and created the username and password for the user. ...
1
vote
2answers
1k 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
2answers
4k views

Cannot setup hostname and FQDN Centos 7

I'm now running CentOS-7.0-1406 and looks like i can't setup hostname properly. As far as i know, you need to setup hostname using hostnamectl set-hostname command and write FQDN in /etc/hosts. I have ...
0
votes
2answers
1k views

DHCP/DNS hostname changes

I have a slightly oddball question, I have a Windows 2008 DC running DHCP and DNS, the problem I have is: 1 - HP Multifunction Printer connected to network picks up DHCP IP Address 2 - The hostname ...
0
votes
1answer
2k views

Syslog-ng how to get domain names instead of IP address

How can syslog-ng get the domain names instead of IP address that I received? I'm able to get those information but in IP address, I would like to get the DST/HOST to domain names instead of getting ...
0
votes
2answers
78 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 ...