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

Does it really matter what your server's hostname is?

I'm kind of hesitating if I should use a subdomain or just a plain word as hostname. E.g. my domain name is domain.com and my server's hostname ip1.domain.com. This might be a strange question but the reason why I'm hesitating is because I wonder if…
aardbol
  • 1,473
  • 4
  • 17
  • 26
5
votes
9 answers

Reusing names in a naming scheme

How do people feel about reusing names in a naming scheme? If you replace a computer should the new computer take the name of the old computer? If you do reuse names, do you wait until you have run out of names before reusing them? Should names…
David Pashley
  • 23,497
  • 2
  • 46
  • 73
5
votes
1 answer

Can't change sender address/domain in sendmail

I have a server with sendmail and I need to send email througt PHP. I have an internal SMTP server on the same subnet, so I configured sendmail with FEATURE(nullclient', mail.server.local')dnl where mail.server.local is solved with an internal IP in…
Kreker
  • 458
  • 4
  • 10
  • 22
5
votes
2 answers

Show full hostname in bash?

Any way to show full hostname in bash instead of partial? Now for domain.com it's: user@domain:~$ Would like it to be: user@domain.com:~$ Debian 8.5
Flash Thunder
  • 261
  • 3
  • 13
5
votes
1 answer

Reverse DNS does not contain the hostname error from MXToolBox

I am not sure where I have gone wrong in my configuration but I am getting the error Reverse DNS does not contain the hostname for my domain sparkdojo.com I had the hosting company set the PTR record to host2.sparkdojo.com and all of the tests I…
CodeKing
  • 53
  • 1
  • 1
  • 4
5
votes
4 answers

What's the point of changing the hostname on my server?

I know that changing my DNS records to point to my IP address is how I get my server accessible, so that a request for myDomain.com points to my IP address. With that said, why does a machine need to have a hostname? Why does it care what it's…
loneboat
  • 303
  • 3
  • 10
5
votes
2 answers

Modifying /etc/hosts to easily access a domain name (or ip address) for amazon EC2 instance

I previously added into my local(Mac OS x 10.6) /etc/hosts file my server's public ip something like this: 123.123.123.123 myServer to allow me to ssh to myServer without having to remember the ip address of the server and worked fine (using shh…
venix
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

Hostname or subdomain?

I understand that, in the direction "webmail.chemistry.iit.edu", "chemistry" is a subdomain and "webmail" the hostname. Then, why in "mail.google.com", according to Google's documentation, is "mail" a subdomain? Isn't it mandatory to have the…
pepito
  • 53
  • 1
  • 1
  • 3
5
votes
2 answers

How to reset and persist the hostname and FQDN of an Windows Azure Centos instance?

How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname manually, but whatever I do, cannot get FQDN (i.e. the…
ddario
  • 511
  • 1
  • 3
  • 12
5
votes
5 answers

Can a server have two "names"?

I'm replacing a sever and wanted to know if there's a way the new server can have two names. For example: What we have now: Old server: srv New server: srv-new What I'd like to have after we cut over to the new server: Old server: srv-old New…
Michael Haren
  • 1,301
  • 7
  • 18
  • 31
5
votes
1 answer

Resolve hostname without FQDN

I'm trying to configure Bind for internal LAN usage only (Linux server, Windows clients) and I would like to resolve workstation both by fqdn and shortname. For example, without DNS server, supposing to have a host named host001 I'm able to do: …
Eddie C.
  • 535
  • 1
  • 3
  • 12
5
votes
1 answer

Configure Avahi nss-mdns not to use local suffix with hostnames because of issue in mounting Samba share

How to configure Avahi & nss-mdns to resolve names in my small home network in the same manner as Windows does with NetBIOS or more recently LLMNR. For Linux, there are two options: Winbind aka NetBIOS for linux, marked as DEPRECATED by many…
Espinosa
  • 171
  • 1
  • 7
5
votes
2 answers

Nginx Multiple Domains

I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server. Has anyone come across this before, care to share? File: nginx.conf ### user…
showFocus
  • 161
  • 1
  • 4
5
votes
3 answers

Rename a machine after oracle (XE) installation

I am looking for a quick solution for the following problem: I have one virtual machines (vmware) I want to be able to give to colleagues (copy of the vm). I installed on the machine Oracle XE database and I want each copied VM to be renamed (the…
рüффп
  • 620
  • 1
  • 11
  • 25
5
votes
2 answers

Why should www.domain and mail.domain be used?

I see the default hostname for mail and web servers being set as mail.domain.tld and www.domain.tld respectively. Why is this? Does it help as you move from a single server to multiple servers? I have always used plain domain.tld for both the mail…
Xeoncross
  • 4,449
  • 12
  • 43
  • 56