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
2 answers

Which are reasons to change the default VPS hostname?

I'm configuring a VPS that I recently subscribed to and I follow other devs' blogposts to help me setting my own up. I often see them changing the VPS hostname. The default VPS hostname doesn't look very pretty (e.g.…
user2923322
  • 203
  • 1
  • 6
1
vote
0 answers

Mac OS X How is Hostname configuration set up

I have taken over a network of Mac Minis at work. The system was installed by a development company that has gone bust and are uncontactable. Each of the Mac minis are connected to a Mac pro acting as a server. The minis get their IP address and…
Haggis2019
  • 11
  • 1
1
vote
1 answer

What influences "hostname -I" IP order

The man page of hostname tells us for the option -I: "Do not make any assumptions about the order of the output.". Anyway, our servers always gave back the external IP in the first place and the local network IP in the second. Unfortunately, a lot…
Daniello
  • 21
  • 1
1
vote
2 answers

How to make old (Windows) hostname resolve to new (Linux) server?

We currently have a basic Windows PC running a Flexnet network license server. We want to move the license server to a Hyper-V Virtual Machine (VM) on a more-suitable machine (one with RAID and redundant power supplies). The VM is running CentOS…
Rhydgaled
  • 25
  • 1
  • 4
1
vote
1 answer

Why do we need the host name again when downloading the webpage by using telnet?

I learned you could use telnet to download a webpage(making http request), like telnet www.example.com 80 GET HTTP / HTTP/1.1 HOST: www.example.com then the output would be an html source page or something. My question is if we had specified…
Hang
  • 113
  • 2
1
vote
0 answers

Virtualhost with two dashes

I am facing a problem with defining virtual host, if I define host like this ServerName some-site-name.example.com DocumentRoot /data/web It does not work and redirects to top virtual host. But if I define…
The Law
  • 111
  • 2
1
vote
1 answer

Can ping NAS by ip and hostname in Windows 10 console, but not find by ip or hostname in Windows explorer

I have set up a new PC with Windows 10. Now I want to access two local NAS drives but can't connect to them. With my old PC and all coworkers pcs everything is fine. There is no special access restriction. I also can't see them in the network…
Askger
  • 11
  • 1
  • 2
1
vote
0 answers

Cannot change /etc/hosts in docker container with read_only root filesystem

I am trying to add a line in /etc/hosts file with a specific IP and a hostname. The IP is static and the hostname is retrievable from the /etc/hostname. However, I want my root file system to be read-only. So I get the following error: /etc/hosts:…
belabrinel
  • 125
  • 1
  • 6
1
vote
3 answers

Wildcard DNS combined with Single Subdomain DNS

I am trying to have all subdomains point to one location on disk, and a particular subdomain (dev) point to another. I tried this : ServerAdmin webmaster@localhost ServerAlias www.cueflash.com *.cueflash.com …
RobKohr
  • 151
  • 1
  • 1
  • 6
1
vote
2 answers

Host name is not resolved (host cannot connect)

I think this is not a usual "hostname not resolved" issue and I don't think this relates to the service I am talking about below: I have a cluster installed with Anaconda's jupyter notebook, the notebook is up and its port is up. Basically, jupyter…
PasLeChoix
  • 111
  • 1
  • 4
1
vote
2 answers

Changing hostname on ubuntu-server (VPS) - recommended or not?

I started paying for a VPS-server at Contabo.com recently. I've read quite a few guides about setting up a VPS-server properly, - but I can't find any 'best practice' regarding the hostname. At the moment, it's quite the horrible hostname (along…
Zeth
  • 121
  • 2
  • 7
1
vote
2 answers

How to update the AWS EC2 hostname without reboot?

I know that to update the hostname of an AWS EC2 instance, I have to update /etc/sysconfig/network and then do a reboot. But I need to do it without the reboot, is there a way to do this? I know that in some Linux distributions, you just need to…
Bhushan
  • 151
  • 9
1
vote
1 answer

Can't get hostnames to appear on LAN for CentOS 6.8 running on KVM

I'm running a CentOS 7.4/KVM with an instance of CentOS 6.8 for legacy purposes. I have DHCP for everything on the LAN, all devices, workstations and servers. Using a Verizon FIOS Actiontec router they all show up, except when running CentOS 6.8 as…
1
vote
1 answer

How to ensure that hostname will be set to Virtualbox VM name when using a preseed automated install debian file with PXE boot?

Let's say I create a VM in Virtual Box. My environnement with TFTP boot is ready. The install goes well, except that the machine doesn't have the VM name as hostname ... How to force that ?
jmary
  • 119
  • 5
1
vote
0 answers

OpenWrt as LAN DNS server only (no DHCP, router, ...)

I would like to add to an existing LAN a small device running OpenWrt, to act as a Local Area Network DNS using dnsmasq. I have in my LAN some local servers which would be very handy to use if the people connected to the LAN only had to write…