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

Should I change my server hostname?

The hostname on my server is the default that is was when I purchased the dedicated server, but I am wondering if it is possible to change it, and if I should. If I change the hostname, will it stop my server working and connecting to the network…
Joel Kennedy
  • 261
  • 1
  • 4
  • 11
5
votes
2 answers

Host is missing hostname and/or domain

i use puppet 0.25.4 on ubuntu 10.04,when puppet installed ,i got the infor below : Nov 29 10:30:30 puppet puppetmasterd[4422]: Host is missing hostname and/or domain: pclient.example.com Nov 29 10:30:30 puppet puppetmasterd[4422]: Compiled catalog…
anlawang
  • 51
  • 1
  • 3
5
votes
1 answer

How to find another container on the same ECS cluster by hostname?

This question feels too obvious to not already have an answer but all of my google searches are coming up with nothing. In docker (docker-compose) you can easily get the IP of another container by hostname. If you have explicitly created and…
Philip Couling
  • 1,682
  • 1
  • 19
  • 37
4
votes
1 answer

Change remote server's hostname with ansible

I want to change my remote server's hostname so I used the hostname module: - hostname: name="{{my_hostname}}" But that also changed the ansible_host to that value, and so messed up remaining tasks. When I did it manually: - shell: hostnamectl…
lonix
  • 896
  • 10
  • 23
4
votes
2 answers

Is file /etc/hostname ever used for host name resolution?

When setting up a local Wi-Fi network in a small place from an ISP, such as Verizon, using a router and modem, the machines in the network are assigned private IP addresses. In such a local Wi-Fi network, I can use ssh name@ to access an…
Tim
  • 1,487
  • 6
  • 28
  • 43
4
votes
3 answers

Google Cloud Instance hostname (Compute Engine)

I have bought several Google Cloud Compute Engine instances. I access each one through its public IP. Is it possible to have hostnames in the Google Cloud service? Something like adolf.googlecloud.com, robert.googlecloud.com, etc. When I search for…
4
votes
2 answers

What is the importance of the Hostname when setting up a VPS?

I am setting up a VPS and I was wondering how important the hostname i.e. name.domain.com is when setting it up? For example the server is most likely going to be for my studio so it will host a number of sites on it. Yet with the hostname I can…
IconicDigital
  • 153
  • 1
  • 5
4
votes
2 answers

How to change the hostname at the end of pxe unattended installation on Debian

I just installed a pxe server, and i'm installing debian with pxe . completely unattended with preseeding. Now, all my installations come with the same hostname, how I can change the hostname to something different? Thanks.
Marc Riera
  • 1,637
  • 4
  • 23
  • 38
4
votes
1 answer

AWS CLI Launch Instance Hostname & Elastic IP

Is it possible to do the following with AWS EC2? And if so what is the AWS CLI command for it? Launch an instance and bind an Elastic IP at the same time Change the hostname of an instance that is created with from the AWS…
4
votes
1 answer

OpenVPN - how to make the client names visible

I am using openvpn. Once the clients are connected, I would like that they can be addressed by using the names instead of the ip addresses. e.g. instead of "ping 10.8.0.2" I can use "ping client-name" How can I achieve that? I am using openvpn 2.3…
megloff
  • 403
  • 4
  • 11
4
votes
4 answers

A good hostname convention for few servers with many different services?

I am looking at setting up a hostname convention for our servers based on the service they provide, such as http, https, smtp, pop, dns, sql, etc. Each service is on its own virtual machines on a Xen host server (dom0), for which there are multiple…
ryanklein
  • 53
  • 1
  • 5
4
votes
2 answers

Host File entry depending on own IP?

I have two different Networks at two different places: 192.168.10.0 / 255.255.255.0 192.168.20.0 / 255.255.255.0 Now I want to define a host entry on my windows pc, who maps either 192.168.10.1 or 192.168.20.1 to the name "myServer", depending on in…
4
votes
4 answers

How to find all hostnames (even laptops that aren't currently on the network) on a network?

I manage a network that has a lot of laptops. The users that use the laptops are frequently traveling. When someone gets a new computer I run into a problem determining what the hostname should be. The hostname scheme is [companyname]xxx where…
cwiggs
  • 69
  • 1
  • 4
4
votes
1 answer

Postfix: Set custom SMTP Banner based on address used to access server

The Postfix parameter smtpd_banner sets the text of a server's SMTP greeting banner. The default setting is: smtpd_banner = $myhostname ESMTP $mail_name My mail server has several unique IP addresses assigned to it, one per domain for which it…
user101340
4
votes
2 answers

Permission denied (public key) ssh ec2 instance mac

Update2: $ ls -ld ~/.ssh drwx------ 8 user staff 272 2 Oct 17:51 /Users/user/.ssh $ ls -la ~/.ssh/config/file.pem -r--------@ 1 user staff 1692 2 Oct 17:11 /Users/user/.ssh/config/file.pem $ ls -la file.pem -rw-------@ 1 user staff 1692 2 Oct…
jskye
  • 145
  • 1
  • 1
  • 8