Hostname is a label assigned to a device connected to a computer network used to identify the device.

learn more… | top users | synonyms (1)

0
votes
1answer
16 views

Should a mail server receive mail at the hostname or just the domain?

When configuring a mail server, should it be setup to receive mail at the hostname or just the domain? For example, if the hostname of the mail server is sub.domain.tld, should mail from anywhere be ...
0
votes
1answer
16 views

Windows Scheduled Task HostName Placeholder

Hi I need to run a service on start up that cannot be run using the system user. (I am using Windows Scheduled Task Manager for this) Under user is there a way to have a placeholder for the hostname ...
-1
votes
0answers
25 views

Dynamically resolve hostname to multiple, prioritized IPs [closed]

I have a linux server connected to a VPN. At home, I use the same VPN on my laptop, while connected to the server directly through a wireless router. To do this, I have two entries in my /etc/hosts ...
0
votes
1answer
37 views

Access local website without dns?

I got an nginx loadbalancer setup with 2 sites. The ip address of the loadbalancer is 192.168.123.10 I want to locally access the two sites to check if everything is working. But I'm a little puzzled ...
0
votes
0answers
18 views

Nullmailer: Unable to resolve host

After installing Ubuntu on my VPS the hostname was Ubuntu-1404-trusty-64-minimal. I changed it to hetzner-backup-1 and rebooted. What I did: I did nano /etc/hosts and added: 127.0.0.1 ...
0
votes
2answers
44 views

Postfix - hostname appearing in email address

I have a fresh install of postfix on Ubuntu 14.04 server but the test emails I have sent all include the hostname in the email address. I have searched and found quite a few people with the same ...
2
votes
1answer
27 views

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 ...
0
votes
4answers
65 views

Does a server hostname always need a SSL certificate?

In the context of a web server with HTTP, HTTPS, IMAPS, POP3S, SMTPS, SFTP and WebDav services, is it necessary to get a SSL certificate for the FQDN hostname of a server (example: ...
0
votes
1answer
28 views

Fully Qualified Domain Name of VPS [duplicate]

I'm really confused by FQDN. So there is this file on my debian machine /etc/hosts. What exactly goes in there? Say my VPS is located at ipadress: 39.22.11.99 And i have a couple of domains all ...
-1
votes
3answers
33 views

What hostname and rDNS should I choose?

What should I set as hostname and rDNS? 1 server 3 domains (domain1.com, domain2.net, domain3.de) 1 mail server for each domain My current settings: /etc/hosts 127.0.0.1 localhost 11.22.33.44 ...
0
votes
2answers
53 views

What's the correct way to set hostname on Debian Jessie when my LAN has DNS?

This is on my home LAN which has a DNS server (Bind9) and a DHCP server (dhcpd). My desktop machine gets its IP address from the DHCP server which includes a search domain of mylan. So, the FQDN of ...
1
vote
1answer
46 views

What is the 'play' host?

I tested the following on a Ubuntu machine. The command ping play results in PING play (127.0.53.53) 56(84) bytes of data. 64 bytes from 127.0.53.53: icmp_seq=1 ttl=64 time=0.029 ms 64 bytes ...
1
vote
1answer
29 views

Postfix Hostname domainbased

I would like to excuse in advance, if my question has already been answered before but im going crazy since a week now... I'm not new to this but after a while in another job, my "skills" are totally ...
2
votes
3answers
43 views

Bash for loops and hostnames and how to generate them

Why doesn't this work? NODE_ROOT=node0 INFRA_DOMAIN=example.com for host in $NODE_ROOT{1..3}.$INFRA_DOMAIN; do echo $host; done I'm expecting: node01.example.com node02.example.com ...
1
vote
2answers
49 views

CentOS Hostname on Linode

Just getting back into Linux and my first CentOS install in nine years. So I thought I would use the Getting Started Guide to augment my 'rtfm' habits. When I got to the set hostname, I noticed that a ...
0
votes
0answers
26 views

Crontab by hostname

My system is having 3 nodes and the cron scheduling is defined in one of these 3 nodes. So while checking with crontab -l at times I am getting proper cron listings at times I am not as the node ...
-1
votes
1answer
63 views

How to get hostname for ip on a local network? [closed]

Disclaimer: not a sys admin/network expert so please bare with me. I'm trying to get the hostname for a given ip of a computer in a local network. The current test setup I have is a few single board ...
1
vote
1answer
81 views

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 ...
1
vote
1answer
75 views

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 ...
1
vote
1answer
133 views

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 ...
1
vote
2answers
69 views

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 ...
1
vote
1answer
85 views

Linux Hosting: What is the purpose of setting hostname/FQDN in hosts file?

I just bought a Linode VPS hosting plan and was following this guide to set up. In the "Setting the Hostname" section and "Update /etc/hosts " section, it says the FQDN/hostname to be set here does ...
0
votes
0answers
22 views

Emails ending up in gmail spam folder [duplicate]

Emails from my dedicated server are ending up in spam folder in gmail even though the server is not blacklisted and with good reputation - see below. the server level issues that would cause this ...
0
votes
1answer
63 views

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 ...
0
votes
2answers
85 views

Matching an IP address to a hostname when both are available but cannot be resolved

I am an administrator on a server that accepts RDP connections. When the client connects I know the client's computer name. Using netstat I can determine which connections have been established for ...
1
vote
2answers
45 views

Httpd/Apache2 Virtual Host and Hostname Conflict

I have a domain ie test.example.com. I set the hostname of my server to this by uisng: hostname test.example.com I then add a Virtual host in /etc/httpd/conf/httpd.conf NameVirtualHost *:80 ...
3
votes
2answers
85 views

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

Relationship between HostName and DNS entry

I am very new to IIS and Deployment world. We recently deployed a website and I think if I am understanding correctly the URL was determined by two things DNS Entry(to me its IP/Name mapping, which ...
0
votes
1answer
60 views

How can the hostname go missing on Linux?

How can a Linux server lose its hostname? This might be a loaded question, but there might be several answers. I just need to diagnose the problem I'm having, but I don't know where to start. ...
0
votes
1answer
28 views

Local DNS for AWS instance

Amazon provides a domain names like blah-blah.amazonaws.com. They want us to use the domain name instead of an IP because the IPs are transient. The local hosts file on my computer only takes IP ...
0
votes
2answers
39 views

Why hostname -f gives me subdomain back when only domain is in /etc/hostname?

In my /etc/hostname (Ubuntu 14.04) file I have: pavel@subdomain:~$ cat /etc/hostname example.ru But when I run: hostname -f it shows: pavel@subdomain:~$ hostname -f subdomain.example.ru It ...
1
vote
1answer
20 views

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

Configuring hostname on ubuntu 14.04 returns “unknown instance”

I am having trouble understanding the concept of configuring the hostname on Ubuntu 14.04. The machine is configured to run several services like webserver, but also needs to have sendmail running. ...
0
votes
1answer
83 views

Two Identical Postfix main.cf files, but sending mail from CLI appears differently

I've been recently testing Postfix and configuring it as a send-only mail client on our virtual environment. I've been playing around with the settings on a few virtual machines until I got it to ...
-4
votes
1answer
29 views

How to point to my host but keep my alias? [closed]

I bought my domain (let's say example.com) from namecheap and added a subdomain to my blog hosted at heroku. The associated host record looks like this: Type: CNAME Host: blog Target: ...
1
vote
1answer
307 views

Apache2/Ubuntu 14.04 error.log Hostname provided via SNI and hostname provided via HTTP are different

In my apache2 error.log I see every few minutes an error message “Hostname … provided via SNI and hostname www.google.com.hk provided via HTTP are different”. In the access.log each error can be often ...
0
votes
2answers
29 views

how ssh to differenet hosts on same network easily

we have a lot of servers on the same network, 11.12.13.0/24. I have to ssh to several server a day quite often. Right now I do like this: ssh user@11.12.13.3 ssh user@11.12.13.32 ssh user@11.12.13.56 ...
1
vote
0answers
117 views

How to set hostname with salt-cloud command

I am using salt-cloud to create new aws instances: salt-cloud -p base_ec2_micro test.mydomain.com However, the instance gets its ip as hostname. What can I do to set the fqdn as hostname? Thanks
0
votes
1answer
36 views

Different local hostname and CN on domain controller

is there a way to name a server locally "LocalOwnServer" but with a different name on a Domain Controller (ie. "DomainOwnServer")? so, I would like to exec cmd command hostname and to get the result ...
0
votes
2answers
30 views

Create multiple email-server names

My email server has two domains and the email hostname for each of them is mail.domain1.com. I'm attempting to remove the 'mail' in mail.domain1.com for domain 1 and set domain 2 to domain2.com. So ...
3
votes
0answers
23 views

Linux: What is the right way to configure the HOSTNAME directive in /etc/sysconfig/network? [duplicate]

There's a (quiet) argument between me and my boss in regard to the right way to configure HOSTNAME directive in /etc/sysconfig/network file: As far as I know, in the HOSTNAME directive you should ...
1
vote
2answers
298 views

Redis Sentinel Configuration and Hostnames

I have 2 sentineles and 2 redis servers. I want to configure sentinels using hostnames of redis servers. Currently, I define each hostname in hosts file like this. 10.22.20.156 clsupport1 ...
2
votes
1answer
21 views

Using www as hostname on a server running apache and exim?

I have a VPS that is currently hosting a website and also serves as a mail server running exim. I own a SSL certificate for website.com which also works for www.website.com. Since my server's FQDN is ...
0
votes
1answer
91 views

Hostname changes history in unix systems

I've been trying to find a command or file that contains all the previous hostnames a Linux/Solaris machine has had, but I can't seem to find any way to do this. The question is really about the ...
0
votes
0answers
83 views

Wait init.d script until host name is ready, Ubuntu/Mint

I have a postgres SQL, which I would like to bind to local host and internal net IP. In /etc/postgresql/9.3/main/postgresql.conf . . . listen_addresses = 'localhost,myhost.mynet' . . . If I just ...
0
votes
0answers
85 views

PING fails for Windows Server 2012 FQN from a client machine

I have a simple network consists of 2 desktop machines configured with the following ethernet settings; Preferred DNS Server is the IpAddress of Windows Server 2012 R2 machine; My desktop ...
0
votes
1answer
37 views

When is domain resolved for openvpn server?

In my setup I have several OpenVPN clients pointing to a vpn server's dns name. let's use vpn1.mydomain.com as an example. The server's public IP pointed to by that domain would be for example ...
0
votes
0answers
107 views

Ubuntu 14.04 preseed host form dns

if try to automate an Ubuntu 14.04 server installation, all questions are answers except one. The server get his ip and hostname via a dnsmasq. I tried in this section # Any hostname and domain names ...
1
vote
1answer
211 views

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 ...
-1
votes
2answers
144 views

Suddenly, domain name can not be resolved - What happened? [closed]

My domain is buycott.com When I run ping buycott.com in the command line, it's timing out. It's been working fine for over a year, and suddenly I'm seeing these timeouts of nowhere? When I use most ...