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

How to make Docker resolve DMZ host?

Imagine I have this setup: An application server Private IP: 1.0.0.1; Private hostname: machine1.internal.domain Public IP : 2.0.0.1; Public hostname : machine1.example.com A database server Private IP: 1.0.0.2; Private…
Ali Ok
  • 121
  • 1
  • 5
1
vote
1 answer

Checking if my hostname is correct (ovh vps + centos7)

I recently purchased a VPS from OVH with Centos 7 preinstalled. I want to make sure my hostname is correctly set. According to some tutorials: hostname returns the hostname hostname -f returns the FQDN After executing these commands, I got the…
AFA Med
  • 597
  • 2
  • 6
  • 15
1
vote
2 answers

Two or more machines on same Windows network with same client hostname

I unofficially manage a small (<10 machines) office network, with machines running on a variety of Windows operating systems: One on XP (This is running specialist software and hardware which is not compatible with newer Windows versions, so I…
WhatEvil
  • 115
  • 1
  • 2
  • 10
1
vote
1 answer

How to set hostname in MySQL? (OS X)

I want to do something similar to the hosts file in MySQL, where I can associate an IP address with a given hostname. So localhost has a default IP address of 127.0.0.1, and let's say I have another hostname called anotherHost with an IP address of…
covfefe
  • 113
  • 1
  • 4
1
vote
1 answer

set host-name failed on Ubuntu vivid

With Ubuntu vivid, I cannot bind the hostname of my server with the IP address gotten by a DHCP server I tried to add in dhclient.conf (and reboot) set host-name "myserver"; But, still doesn't work... Did I miss something ?
Stef
  • 572
  • 1
  • 6
  • 16
1
vote
1 answer

Can't connect to Samba server via FQDN despite it resolving to the correct IP address

I'm really hoping that you guys can help me with a really weird problem I'm having with a new Samba server. I can connect to the server just fine via its IP address. I can also connect with its short hostname. On one client, I can ping the server…
1
vote
1 answer

How to forward hostname based request to a specific docker container

I'm trying to use hostname based connecting to a docker container. i.e: I connect my browser to web01.docker.example.org (assuming a wildcard DNS record on *.docker.example.org pointing to my docker box). How do I enable docker to forward this…
1
vote
2 answers

localhost as computer name

When you set up Windows it requires a computer name, something like Steven-PC. This is the equivalent to hostname on Linux. I noticed that Fedora Linux uses localhost as the default hostname. Would using localhost as a computer name cause any…
Zombo
  • 1
  • 1
  • 16
  • 20
1
vote
1 answer

helo message set to local hostname

I have a droplet on DigitalOcean and decided to implement my own mail server there using postfix and dovecot. Everything worked correctly and I was able to send and receive emails via a mail client (Airmail for Mac). My droplet is debian and I set…
user275098
1
vote
1 answer

setting numerical hostname in Proxmox

I am using Proxmox. I tried to run new OpenVZ container and I set my recently registered domain as a hostname in format "three digit number dot ie" (XXX.ie). The problem is, that after starting server, no matter what is written in files /etc/hosts…
Homolupus
  • 11
  • 4
1
vote
1 answer

Possible to have FQDN in Debian Logfiles?

Is it possible to have instead the hostname the fqdn inside debian log files? Example: Now its: Mar 2 18:00:12 www rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2442" x-info="http://www.rsyslog.com"] start Should be: Mar 2…
fips123
  • 361
  • 1
  • 5
  • 17
1
vote
1 answer

rsyslogd and FQDN - cannot get FQDN from clients

I setup a syslogserver with rsyslogd and 3 clients. Logs from 3 test clients are sent to the server, so far so good. My Problem is: I can't get the FQDN hostnames to work. According to rsyslog.com i have to add "$PreserveFQDN on" in…
fips123
  • 361
  • 1
  • 5
  • 17
1
vote
1 answer

How to point 2 CNAME records to same external address?

I am fairly new to DNS managing. I have been attempting for a while now to point both my root domain @ and www to my GitHub account page user.github.io. I have a CNAME pointing www to user.github.io., but for some reason I can't do a CNAME that…
Luiz Berti
  • 155
  • 1
  • 2
  • 5
1
vote
2 answers

How to create hostname alias WITHOUT IP address?

In linux , /etc/hosts stores ip aliases. But I want to create a hostname without knowing its IP address. In Amazon RDS , it's endpoint is a long domain name such as : my-db.ooxxooxxooxxoo.ap-northeast-1.rds.amazonaws.com . It doesn't suggest…
smallufo
  • 199
  • 2
  • 8
1
vote
1 answer

Nginx server block for multiple subdomains

I have the following hostname structure: main.domain.com is the main subdomain and is static; any other subdomain is dynamic *.domain.com The root directory is the same for all hostnames. Now what happens: When I access fruit.domain.com its…
Aley
  • 209
  • 2
  • 4
  • 16