Questions tagged [hostname]

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

A hostname is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may have appended the name of a DNS domain, separated from the host specific label by a period (dot). In the latter form, a hostname is also called a domain name. If the domain name is completely specified including a top-level domain of the Internet, the hostname is said to be a fully qualified domain name (FQDN).

Hostnames that include DNS domains are often stored in the Domain Name System together with IP addresses of the host they represent for the purpose of mapping the hostname to an address, or the reverse process.

Source: Wikipedia.

624 questions
10
votes
2 answers

Hostnames in HAProxy configuration file

My haproxy.cfg file has two backend servers using hostnames: server ops-ca-revealv2e-prod-1 ops-ca-revealv2e-prod-1:443 cookie ops-ca-revealv2e-prod-1 ssl weight 1 maxconn 512 check server ops-ca-revealv2e-prod-2 ops-ca-revealv2e-prod-2:443 cookie…
Naijaba
  • 203
  • 1
  • 2
  • 6
10
votes
8 answers

linux command line: find a host's canonical hostname

what is the easiest way to get a host's canonical host name from linux's command line? If it matters, my shell is bash. CLARIFICATION: I want another host's canonical hostname, either by ip or by non canonical hostname. Not the local host's…
flybywire
  • 597
  • 4
  • 9
  • 20
9
votes
10 answers

Naming convention for computers

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' desktops, server, etc. We are about to buy many new…
ankitjaininfo
  • 199
  • 1
  • 4
8
votes
1 answer

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 not need to be related with the websites I am about…
shenkwen
  • 199
  • 2
  • 14
8
votes
3 answers

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 it's unambiguously resolvable (in DNS). The example at…
sebix
  • 4,313
  • 2
  • 29
  • 47
8
votes
1 answer

To zero pad hostnames or not?

Given an array of similar hosts, what are some of the advantages and disadvantages of zero padding or not? Zero Padding www-01 www-02 ... www-11 www-12 No Padding www-1 www-2 ... www-11 www-12 I've seen both in…
inno
  • 113
  • 5
8
votes
2 answers

Why not assign the hostname to the loopback address in /etc/hosts?

So I understand that the hostname should (at least in Debian systems) be set in /etc/hostname. To get the FQDN (through hostname -f) the system finds the IP from the hostname through /etc/hosts and then returns the first entry in the line. So if the…
gitaarik
  • 471
  • 1
  • 5
  • 13
8
votes
3 answers

Case sensitive hostnames

I have a very quick question regarding case sensitive Greek hostnames. For example, if I wished to register the hostname using the Greek letter omega Ω, like so: ΩΩΩΩ.com, it would in actual fact appear as the lower case version: ωωωω.com. In…
Paul
  • 83
  • 3
8
votes
1 answer

What is the difference between a plain Amazon ec2 instance and beanstalk?

I am a solo developer and the sites I'm deploying are very small, usually hobby sites and I have a few questions about the Amazon services. Is there a reason for me to use beanstalk or should I just stick with a single ec2 instance? Should I use…
8
votes
4 answers

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 I think it is more generic and…
adrianTNT
  • 1,077
  • 6
  • 22
  • 43
8
votes
5 answers

Resolving host names to their domain name in an internal BIND domain

I'm setting up a domain on my home network for learning purposes, using BIND on CentOS to act as the name server. I've got the name server up and running as type master for my internal domain (plumbnicoll.family), and can do forward and reverse…
Adam Plumb
  • 183
  • 2
  • 4
7
votes
4 answers

What to put as hostname in VPS setup?

If my domain is example.com, what should I put as hostname in my VPS setup using Debian 8.7 Jessie? Is it www.example.com or example.com or example?
user412945
  • 71
  • 1
  • 1
  • 2
7
votes
2 answers

Validity of a FQDN with a hostname consisting entirely of numbers

Is a FQDN valid if the hostname component is entirely numeric? It's not something I've come across before and I'm not sure if something like the following is legal: 001.example.com. I know it's an issue for Windows Servers, but is a purely numeric…
7
votes
2 answers

Why do I need to set a hostname?

I know there's quite a few questions about host names. But even after reading them, I didn't really understand the concept of host names entirely. So here's my question: I've been following this guide in setting up a VPS with Linode. The first step…
gerky
  • 291
  • 1
  • 4
  • 14
7
votes
2 answers

Pound Proxy with multiple SSL Certificates

After reading on the Pound website that SSL does not support virtual host names, this in fact seems quite strait forward and obvious to me now. I have a pound load-balancer I wish to terminate SSL connections with. If a web server behind it runs…
jwbensley
  • 4,202
  • 11
  • 58
  • 90