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
0
votes
1 answer

hostname and hostname -f are backwards?

When I run the command hostname (on Ubuntu 10.04 LTS Server) it returns 'mail.mydomain.com' When I run hostname -f I get 'mail' as a response. These seem backwards to me, shouldn't hostname -f return the FQDN? Where did I misconfigure this?
Citricguy
  • 166
  • 1
  • 1
  • 9
0
votes
2 answers

How expensive is a hostname in htaccess? Other solutions possible?

For easy allow or disallowing of dynamic IP-adresses you can add them as a hostname in a .htaccess file. As I have read from: .htaccess allow from hostname? it does a reverse lookup on the connecting ip address, seeing if the response matches…
Nanne
  • 612
  • 2
  • 8
  • 26
0
votes
4 answers

Redirect port for specific hostname?

Lets say I have two domains pointing to my IP: first.com and second.com pointing to 127.0.0.1 When someone connects to first.com:6000 it should go to 127.0.0.1:6000. But when someone connects to second.com:6000 I need it to go to…
user76231
  • 33
  • 2
  • 4
0
votes
3 answers

Cannot rename a computer on a domain

I'm trying to rename a server in a domain which has already given me a few problems. Since a long time i cannot ping the hostname of it from another computer in the domain. The DC is a Windows Server 2008 R2 and the computer with the problem is a…
carraua
  • 105
  • 1
  • 1
  • 5
0
votes
2 answers

How do I avoid the hostname Macintosh-2?

Whenever I join a network where there are other Macs, I sometimes get the notification: This computer's local hostname Macintosh.local is already in use on this network. The name has been changed to 'Macintosh-2.local`. From then on the…
Jared Oberhaus
  • 596
  • 6
  • 14
0
votes
2 answers

How to configure hostname for `apache22` package on FreeBSD?

I'm configuring development & test FreeBSD machine on VM. I installed apache22 package and restarted. But the daemon does not started with this error: %apachectl start httpd: apr_sockaddr_info_get() failed for test.box httpd: Could not reliably…
Eonil
  • 10,459
  • 16
  • 36
  • 54
0
votes
2 answers

Access server on internal network by name

Forgive the noob question: I have a server that I would like to address by name from clients on the local network, i.e. instead of typing ssh user@10.0.0.x I would like to type ssh user@servername I don't really know what goes into this, apart…
0
votes
2 answers

Windows thinks foreign IP address is local hostname?

I've spent the whole day trying to fix this and it's driving me absolutely insane. I noticed the issue while trying to set up a remote mySQL server and then went from there. My manager can connect to the mySQL server at 192.168.242.26, using a…
0
votes
1 answer

Changing server mail address (hostname?) on VPS (parallels, plesk)

My VPS came with a default domain (lets say http://vpsname.com), which was very random long domain name. This VPS hosts two websites, lets call them websiteA.co.uk and websiteB.co.uk. At the moment mail gets sent from vpsname.com, even if I use an…
0
votes
5 answers

Manage a lot of open ssh sessions to servers with id's for hostname

Lately I'm working a lot with a few open ssh connections to multiple VPS servers. The hostnames of the servers all follow an ID approach and it's becoming very difficult to know on what machine I'm working with. I was wondering if there is a way to…
kimausloos
  • 67
  • 7
0
votes
1 answer

unable to ping hostname, but \\hostname\c$ works?

I'm having a strange issue on my initial lab setup. Situation: Host with OS Server 2008 R2 64bit, on this host a Virtual Machine in Hyper-V with OS Server 2008 SP1 32bit. The virtual machine has a fixed ip, and is referring to itself for the…
ciscokid
  • 53
  • 3
  • 7
0
votes
1 answer

Custom hostname instead ISP's

I have setup a Centos 5.5 server and a domain name (say mydomain.com) pointing to it (using bind9) with custom nameservers (like ns1.mydomain.com and ns2.mydomain.com). Everything works fine but there is something more I would like to have and don't…
JohnZ
  • 235
  • 1
  • 4
  • 10
0
votes
1 answer

Hostname issue (Linux)

I have a strange problem: I have a mail-server. And I have a strange issue with hostnames on ubuntu. When I send an e-mail there is a line in the headers: Received from domain (ip6-localhost [127.0.0.1]) but my hosts file does not have…
0
votes
2 answers

What are industry standards and professional best practices in network hosts naming?

Possible Duplicate: Naming convention for computers It seems an important and difficult dilemma for me how to name network hosts (routers, servers (while a server can be a router and host diverse services at the same time), virtual machines…
Ivan
  • 3,398
  • 19
  • 50
  • 71
0
votes
1 answer

how to add linux computer to windows network

i need to add a linux to a network, and assign it a hostname in active directory. any clues on how to do that? i know how to set things up on the windows box, but not how to give it a recognizable hostname within active directory (mapping the name…