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

Can fully-qualified hostname be used as a unique identifier?

If I get the fully qualified computer name on a Windows server (2K3 or 2K8) using the GetComputerNameEx() API call, can I rely on that name to be unique on that particular domain? That is, can I assume that only a single active physical or virtual…
xxbbcc
  • 135
  • 7
2
votes
4 answers

Forcing SSL with mod_rewrite

I have the following statement and it works perfectly to redirect all requests for "www" on :80 to force the browser to the same location on :443 RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://www.mydomain.com/$1…
rws907
  • 231
  • 2
  • 8
2
votes
1 answer

EC2 hostname ubuntu and ejabberd

I have questions related to the host name in Ubuntu EC2 instances. I have a IPS elastics for hosts that want to be seen from the internet and I have pointed out in the DNS entries with the computer name to those ips. For example, for elastic IP…
aelbaz
  • 155
  • 6
2
votes
2 answers

How to request DHCP clients to resend their hostnames after a router reboots

Assume that I have a router with DHCP server on it (well, it is actually a dd-wrt router). After rebooting the router, all the DHCP clients's hostnames are lost: I couldn't see the names of the clients except IP addresses in the "active clients"…
hfreqtech
2
votes
1 answer

Is it possible to change a Windows hostname (NetBIOS name) using a script?

How can I change the hostname of a Windows server using a script? Doing this on a Linux server is very straightforward (change a couple file entries, and run the hostname command), but I don't know how, or even if it's possible, to change a hostname…
warren
  • 18,369
  • 23
  • 84
  • 135
2
votes
5 answers

How to make a RHEL5 VM visible by hostname to host OS

I believe the correct networking option is to use bridged so that the guest OS gets its own IP address, but I'm still only able to ssh by ip address.
antony.trupe
  • 131
  • 6
2
votes
4 answers

Setting FQDN hostname and dot

I was wondering if I am editing a file such as /etc/hosts or /etc/sysconfig/network should I put a . at the end of the name. such as test.example.com. Is there a difference? Would anything break either way.
PHGamer
  • 430
  • 1
  • 4
  • 7
2
votes
4 answers

Can't reach Win 2k3 server by name on first attempt

I'm not an admin but since our regular guy is on vacation, the problem ended up in my lap. I'll be as brief as I can. We noticed that our SQL Server 2005 instance was acting weird: app starts, app fails to connect to db. However, app works just fine…
2
votes
3 answers

Ping returns different results if asked ip address or hostname

Alright, I've got an irritating problem. When I ping one of the servers in my company with ping 192.168.1.62 I get my box ldmmit1 as the result. But when I use this line ping ldmmit1 I get back ip address 192.168.1.184 with a name of 1st6cf1 as…
Spencer Rathbun
  • 320
  • 1
  • 3
  • 9
2
votes
2 answers

Advantages/Disadvantages of using Hostnames vs Servernames when deploying services to IIS?

What are the advanatages/disadvantages of using custom hostnames vs. just using servernames for hosting services in IIS? ie. With a Windows Server called 'SRV123' should we be hosting services under http://services/ServiceName instead of…
mundeep
  • 926
  • 8
  • 10
2
votes
1 answer

Are there any issues with changing the hostname on an existing MySQL server?

I know that changing the Windows hostname on an existing MS SQL server can cause problems if you don't update certain things within MS SQL. Are there any similar issues with changing the Windows hostname for an existing MySQL installation?
romandas
  • 3,302
  • 8
  • 39
  • 44
2
votes
3 answers

Disable bind 9.3.6 hostname disclosure

I've bind 9.3.6. How can I disable hostname disclosure ? Issue link http://www.iss.net/security_center/reference/vuln/bind-hostname-disclosure.htm Thanks.
dba.in.ua
  • 187
  • 1
  • 9
2
votes
2 answers

How do I override the OS X hostname that is assigned by DHCP?

I want to force OS X 10.6 to use the hostname that I assign it but still be able to use DHCP. The old method of editinng /etc/hostconfig is not good anymore, the file containing "This file is going ways" message at the top. How to do this?
sorin
  • 8,016
  • 24
  • 79
  • 103
2
votes
1 answer

Routing requests from external hostnames to internal IP addresses in Ubuntu

I want to host several websites using the same IP address. My ISP gives me one static IP address, however I have three different webservers (all running different sites) hooked up behind a cheap switch that all are ultimately behind this one IP…
Eric
  • 135
  • 6
2
votes
2 answers

user version of /etc/hosts

I am a user on a Solaris 10 system and I wish to maintain my own version of /etc/hosts. This file will function like a normal /etc/hosts, except it will only resolve hosts from processes that I run. Since I do not have the ability to write to…
David
  • 588
  • 2
  • 6
  • 14