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
1
vote
1 answer

"dig ... any" shows A record but "dig ... a" does not

When using "dig host.name.here.com A" I get SERVFAIL and no answer. But when I do a "dig host.name.here.com ANY" I get NOERROR and it returns an A record. Any idea as to what may be wrong with the domain in question? Below is a sanitized example.…
sij99
  • 11
  • 1
  • 2
1
vote
3 answers

Use SSH hostname aliases in browser

I set up hostname aliases in .ssh/config, which works great: Host my-web HostName 515.346.96.21 So I can do this: ssh my-web But in a browser, I still need to type in "http://515.346.96.21". It would be great to be able to do…
Steve Bennett
  • 5,750
  • 12
  • 47
  • 59
1
vote
2 answers

Host name checks when somebody remotely logs in

Whenever anyone connects through Remote Desktop to my Windows 2003 server, I want to check his computer name (hostname) along with his username so I can allow the user to log in. I don't know scripting, if somebody can help with steps I will be…
nitin
  • 11
  • 1
1
vote
0 answers

Host name change breaking http? Fedora

OK so I have been messing around on my development server. It has been a while since I have had my head in linux and I suspect I have broken something. I have SSH running and that is working fine. I also have HTTP and I had FTP running also. Earlier…
Dave
  • 11
  • 1
1
vote
0 answers

IIS: hostname breaks website

I have a Azure WindowsVM with a IIS. Everything works fine until i add a hostname in the bindings. Then I get a 404 error.
Michael
  • 11
  • 1
1
vote
2 answers

Is there a practical server host naming convention?

To maintain many servers, how do you give a name to your servers? By only server's hostname, I would like to classify the server's kind of service, whether virtual machine or not, stages(alpha, beta, real), hardware specs and so on. Is there an…
Benjamin
  • 231
  • 1
  • 2
  • 8
1
vote
1 answer

Permanently change hostname of Debian Squeeze virtual server

I have a virtual server running Debian Squeeze. I can change the hostname by running the hostname new.host.name command or by editing /etc/hostname and then running /etc/init.d/hostname.sh, but after a reboot the hostname will be reset to the…
1
vote
1 answer

Is using wildcards for hostnames in dhcp module of dnsmasq possible?

I want to have all machines with a hostname that starts with foobar- assigned an IP from a specific range with an infinite lease. All other machines should have a volatile IP. I did the following but the configuration file was not…
Openhair
  • 11
  • 1
1
vote
2 answers

Rename hostname

If you rename the PC's hostname at the PC while it is connected to the domain, will it find that original hostname in AD and rename it there as well?
KK1956
  • 11
  • 1
1
vote
1 answer

OpenVZ tells me: hostname: the specified hostname is invalid on boot of the VE

I’m using Proxmox 2.1, which is based on Debian 6, for my OpenVZ installation. Which shouldn’t matter but I wanted to mention it before I begin with my problem. I imported several VEs into my newly set up Proxmox 2.1 installation. All the old…
Ulf
  • 387
  • 1
  • 5
  • 18
1
vote
1 answer

How to create an alias for linux server name?

The openSUSE server name is 'darkhelmet'. I want to create an alias 'dh' for it. So I can also type 'ssh dh' and 'http://dh' would work too. What file/files and where do I have to edit to make this happen? Extract from /etc/hosts from darkhelmet…
Radek
  • 1,153
  • 4
  • 26
  • 39
1
vote
1 answer

Determining the State of a User using their Hostname

Not sure if this is the right SE site. I figured this question doesn't belong on SO, but if you think it doesn't belong here either, I apologize. I've been looking into determining the location, specifically the state, of a user accessing my…
Bailey Parker
  • 141
  • 1
  • 7
1
vote
3 answers

Unix - how to get hostname along with domain name

In unix (solaris) is there any command where i can get hostname & domain name together?? ex. hostname -> servername domainname -> us.xyz.com i need it output as : servername.us.xyz.com
vikas
  • 13
  • 1
  • 3
1
vote
1 answer

DNS with centos

I have a centos box from linode and I have set the /etc/hosts /etc/sysconfig/network and /etc/resolv.conf to only one domain. Is it okay to host multiple domains on the same machine, while only one domain is configured with the above? For example if…
Kyle
  • 351
  • 1
  • 2
  • 8
1
vote
1 answer

Does the server hostname need to match the domain name of the email address you are sending from? Does the hostname need to be verifiable with DNS?

I am trying to diagnose why email won't send from a new RHEL v5.8 server. Sendmail is up and running, but everything is stuck in the queue (confirmed with mailq) with connection timed out errors. If I have the hostname of the server…
dabayl
  • 302
  • 5
  • 12