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
4
votes
4 answers

Sending machine hostname as a header in Apache

I have a group of linux apache 1.3 servers behind a load balancer, and I want to be able to, at a glance, determine which server I'm hitting. The load balancer is severely limited in its monitoring capabilities, so what I'd like to do is configure…
EvanK
  • 247
  • 3
  • 7
  • 13
4
votes
1 answer

How to setup an alias in IIS?

I'm a SharePoint developer, so please, bear with me here and I'll provide more information as needed since I'm not sure what I need to specify here! I'm trying to setup an alias in IIS. I have a hostname for our intranet, http://vshoprspfe:27366 but…
Michael A
  • 175
  • 1
  • 2
  • 7
4
votes
1 answer

What would cause the hostname FQDN to repeat the suffix twice?

I have three new CentOS 6 servers that connect to a DHCP server to get an IP and to have DNS/rDNS setup to bind their FQDN and IP. Two of them are behaving as expected. One of them is appending the suffix twice. Instead of fulton.mydomain.com we get…
lcbrevard
  • 318
  • 3
  • 12
4
votes
3 answers

How to set hostname.domainname from dhcp

Running Centos 6.x using dhcp, we want to set the hostname to be FQDN that's obtained from a combination of dhcp options. As an example if I have two dhcp options option host-name "foobar"; option domain-name "mydomain.com"; When a client…
Eugene
  • 41
  • 1
  • 1
  • 2
4
votes
3 answers

What is proper relationship between /etc/hosts and DNS A records for a Linux server?

I have an Ubuntu server. It is going to be a web server with a URI of www.example.com. I have a DNS A record pointing www.example.com to the server's IP address. Let's say I pick "trinity" as the hostname for this server. I want to set up the DNS…
MountainX
  • 701
  • 3
  • 12
  • 25
4
votes
4 answers

Cannot ping Ubuntu server by hostname

I know this is already asked but I can't find a clear answer. I put a new Ubuntu server in my LAN and I can't ping it but the hostname. I don't want to edit all my LAN windows hosts's file (+40 pcs) and add the entry. Perhaps I have another Ubuntu…
Kreker
  • 458
  • 4
  • 10
  • 22
4
votes
2 answers

How to enumerate network computers from command line?

I am on Windows XP and would like to enumerate the computers that exist on my network from a command line. I would like to enumerate them such that I can use the host names in another command, pslist . I suspect that I can use PowerShell and the…
Sipp
  • 173
  • 1
  • 2
  • 5
4
votes
5 answers

To which IP should hostname resolve?

Which IP should hostname machine.example.com resolve to in /etc/hosts? To localhost (127.0.0.X), to a local network (10.X.X.X or 192.168.X.X), or to the external server IP visible from outside (X.X.X.X)?
Vladislav Rastrusny
  • 2,671
  • 12
  • 42
  • 56
4
votes
4 answers

How to change the hostname of a VM using VMware

When I create VMs, my automatic hostname is localhost.localdomain. This is creating some networking issues from my VM to another Windows computer that I have (cannot ping to my VM). How can I change my hostname of my VM? Do I need to also change…
O_O
  • 635
  • 3
  • 15
  • 25
4
votes
1 answer

Debian squeeze: change to hostname makes other packages unhappy?

I'm working with a fresh Debian Squeeze install from Linode, and it looks like hostname behaves differently (from lenny) in a way that makes certain other packages unhappy. Viz: clements@debian:/tmp/npm$ hostname -A li228-113.members.linode.com…
John Clements
  • 171
  • 1
  • 7
4
votes
4 answers

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 where to look.
warren
  • 18,369
  • 23
  • 84
  • 135
4
votes
3 answers

Which host name to put in /etc/hostname?

on my dedicaced server, i host multiple website. Simple question : what do i need to enter in /etc/hostname ? Why choose website1.com instead of website2.com ? What do i need to put in there ? Thanks
Tristan
  • 498
  • 2
  • 9
  • 27
4
votes
1 answer

reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your reverse hostname

Sending an email from my local network is going fine. Also through Thunderbird or remote with Roundcube, which is locally installed. But now, I am in Asia and try to send an email with Thunderbird. The following error is in the…
4
votes
1 answer

how to setup dnsmasq for DNS for private and public hostnames via different DNS servers

lets say i have this private hostname dev.private.example.com that is only accessible in a private network over VPN connection and i have prod.example.com that is accessible to the internet. I have DNS servers to resolve the private hostname and…
uberrebu
  • 503
  • 6
  • 17
  • 36
3
votes
4 answers

Can not ssh into ubuntu server using .local (on one server but not the other)

I have two servers and one seems to have configured something "out of the box" to allow "ssh servername.local" to work. I really like this and looked into it, but I don't see any difference in their configurations. server1: (ssh by name works) $…
privatehuff
  • 1,089
  • 2
  • 10
  • 13