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
0answers
24 views

(Host-)Naming a single server with multiple purposes

My Setup I recently rented a VPS and set up an Apache, a Postfix / Dovecot and a TeamSpeak server on it. When adjusting the Postfix configuration, I had to deal with the server's hostname, which, by ...
1
vote
0answers
21 views

environment host urls convention and using wildcard DNS

we're setting up new hosts and environment servers on our company... creating 3 server instances... dev, stage, production we've multiple clients and multiple projects per client so this is our idea: ...
31
votes
7answers
44k views

Is it possible for two hostnames share the same IP address?

Can anyone explain whether it is possible for two hostnames to share the same IP address? And what about if one hostname represents more than one IP address, is that possible too? Why?
0
votes
1answer
15 views

What code can I add to my csgo server.cfg to have it only respond to one dns? [closed]

Im trying to run multiple csgo servers on my server rack and I have diffrent domains that I want to use on each server because the port numbers need to stay the same. Im thinking of finding a line to ...
-3
votes
2answers
78 views

Can't resolve hostname by ip address over nslookup [on hold]

I've got an Ubuntu Server on my LAN. I can fully use it (samba, ssh, apache2, xmpp...) by using it's ip address. But I want to use the hostname to connect (e.g. ssh). When I do a nslookup with the ip ...
0
votes
2answers
37 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 ...
-3
votes
0answers
40 views

How do I resolve hostnames on the local network in Linux Mint? [migrated]

Nothing on Google, other questions on the stack websites or anywhere else seems to answer my question. Let's pretend that my Windows laptop is using the device name mylaptop. Other Windows' devices ...
1
vote
2answers
8k views

Permission denied (public key) ssh ec2 instance mac [closed]

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

Hostname and SSL (apache) issue on Debian

I have been trying to setup SSL virtual host <VirtualHost *:443> ServerAdmin webmaster@mts.com ServerName moclm.tap.pt SSLEngine on SSLCertificateFile /etc/ssl/moclm.cer ...
0
votes
1answer
1k views

Syslog-ng how to get domain names instead of IP address

How can syslog-ng get the domain names instead of IP address that I received? I'm able to get those information but in IP address, I would like to get the DST/HOST to domain names instead of getting ...
0
votes
1answer
21 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 ...
0
votes
1answer
1k views

Lighttpd proxy module - use with hostname

I have to proxy a site which is hosted on an external webspace through my lighty on example.org. My config so far: $HTTP["url"] =~ "^/webmail" { proxy.server = ("/webmail/" => ( # ...
4
votes
2answers
3k views

Nginx Multiple Domains

I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server. Has anyone come across this before, ...
0
votes
1answer
41 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
24 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
4k views

Cannot ping linux (RedHat) machine by hostname

For some reason, a linux (RedHat) machine that I have is not ping-able by hostname! It is ping-able by IP address though. I have the same network configurations as another linux (RedHat) machine ...
0
votes
2answers
50 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
30 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
68 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: ...
16
votes
6answers
27k views

How do I change Exim4's primary_hostname on a Debian box?

Some remote SMTP server I am trying to deliver mail to refuses to accept the HELO from my server: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname Apparently, my ...
0
votes
2answers
240 views

Where is the samba name “workstation” coming from?

The output of smbstatus running on OS X Mavericks with the latest Server app installed (but with native SMB shut down in favor of the Samba implementation from Homebrew) contains many entries like ...
0
votes
1answer
30 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 ...
0
votes
2answers
59 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
votes
3answers
36 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 ...
1
vote
1answer
47 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 ...
3
votes
2answers
3k views

Sending machine hostname as a header in Apache

I have a group of linux apache 1.3 servers behind a load balancer, and I want to be able to, at a glance, determine which server I'm hitting. The load balancer is severely limited in its monitoring ...
1
vote
1answer
33 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 ...
74
votes
6answers
53k views

Top level domain/domain suffix for private network?

At our office, we have a local area network with a purely internal DNS setup, on which clients all named as whatever.lan. I also have a VMware environment, and on the virtual-machine-only network, I ...
2
votes
3answers
49 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 ...
9
votes
8answers
18k views

Easy way to get IP address from hostname using a Unix shell

What is the easiest way to get the IP address from a hostname? I was thinking about trying a ping and parse it from the output. However, that doesn't seem very nice and will probably not work the ...
1
vote
2answers
50 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 ...
1
vote
2answers
134 views

Rename hostname

If you rename the PC's hostname at the PC while it is connected to the domain, will it find that original hostname in AD and rename it there as well?
3
votes
3answers
3k views

SharePoint Multiple Domain Name Best Practice

Simple question - what is the best practice to implement a sharepoint web application that needs to be accessible through two domain names (hostnames, i.e abc123.com and www.abc123.com)? From my ...
0
votes
0answers
28 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
90 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
87 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
99 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 ...
9
votes
4answers
13k views

Is the hostname case sensitive?

Is the hostname case sensitive? Is ping MYHOST equal to ping myhost Does it depend on the DNS used? Are there differences between Win/Mac/Unix systems?
1
vote
1answer
168 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
81 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 ...
2
votes
3answers
13k views

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 ...
1
vote
1answer
102 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
68 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
94 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
51 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 ...
2
votes
2answers
614 views

Ngrok custom hostname add cname to subdomain

I have xyzfoo.com domain. I created a DNS CNAME record which points to ngrok.com I have my app running locally on http://127.0.0.1:5000/ but not running remotely on zyxfoo.com Does a subdomain need ...
0
votes
1answer
48 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
61 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. ...