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

learn more… | top users | synonyms (1)

1
vote
0answers
9 views

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" ...
0
votes
0answers
15 views

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

Hostname lookup fails, name server set up correctly

We have a small network, with a main server (hosting our own website and functioning as a name server) and some web hosting servers. Since yesterday we have an issue with a domain of a client of ours ...
11
votes
8answers
8k views

Linux command line utility to resolve host names using /etc/hosts first

There are several command line utilities to resolve host names (host, dig, nslookup), however they all use nameservers exclusively, while applications in general look in /etc/hosts first (using ...
5
votes
4answers
1k views

Correctly setting the hostname - Fedora 20 on Amazon EC2

Context I have a Fedora 20 cloud image running on Amazon EC2 (henceforth called the "instance"). And I have some uncertainty about persistently setting its hostname. Goal In this case, let's say I ...
0
votes
1answer
1k views

How to setup an alias in IIS?

I'm a SharePoint developer, so please, bear with me here and I'll provide more information as needed since I'm not sure what I need to specify here! I'm trying to setup an alias in IIS. I have a ...
0
votes
1answer
587 views

HP Server Automation - agent misreporting hostname

I've been using HP Server Automation for some time, but have noticed an interesting issue I'm hoping the SF community has seen / knows a workaround to. When the management agent on Solaris or RHEL ...
60
votes
5answers
35k 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 ...
0
votes
1answer
38 views

How to point 2 CNAME records to same external address? [duplicate]

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

Puppet exec type seems to ignore the unless attribute

I have an exec command to change the hostname. I only want to execute that if the hostname is not what it should be: exec { 'update hostname': command => 'sudo hostname VM01', unless => ...
0
votes
0answers
4 views

How to set domainname? [migrated]

i have a nameserver running on my router. My raspbian succesfull connects with the network over wlan. The fqdn of the raspberry pi should be hal9000.wg.lan. Running hostname -f only returns hal9000 ...
-1
votes
2answers
42 views

Cannot setup hostname and FQDN Centos 7

I'm now running CentOS-7.0-1406 and looks like i can't setup hostname properly. As far as i know, you need to setup hostname using hostnamectl set-hostname command and write FQDN in /etc/hosts. I have ...
0
votes
2answers
2k views

Hostname and SSL (apache) issue on Debian

I have been trying to setup SSL virtual host ServerAdmin webmaster@mts.com ServerName moclm.tap.pt DocumentRoot /var/www/tapme/ <Directory /> Options ...
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/" => ( # ...
1
vote
0answers
20 views

Changing the hostname on a Linux Mint desktop to a random value at boot time [migrated]

When changing the hostname to a random set of alphanumeric characters on a machine running Linux Mint(17.1 Rebecca, Cinnamon 64-bit) I encounter some problems. The following script changes the ...
2
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
67 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 ...
10
votes
3answers
27k views

What is the difference between a hostname and a fully qualified domain name?

I am new to the world of setting up servers and am baffled by the term hostname and fully qualified domain name. For example, if I want to set up a server that hosts files on the local network i.e. a ...
2
votes
1answer
65 views

CoreOS hostname on reboot

Recently, I created a CoreOS droplet on DigitalOcean. Everything works well, except for the fact that I'm not able to change the hostname of my VPS. When I change the hostname to what it should be ...
2
votes
2answers
65 views

How to set hostname if hosting multiple servers on the same machine?

I'm learning about setting up my own web and mail servers, and I've been confused about this question for days, and articles online (including Server Fault) seems to be so inconsistent with their use ...
0
votes
2answers
45 views

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

sudo: unable to execute … bad address - what is it and how to fix it?

I have a set of scripts which finishes up client machine deployment after executing a fairly generic NetRestore image. The main script runs under root privileges, and then calls another, "user" ...
8
votes
2answers
3k views

How can I send visitors to the closest server using DNS?

Is there a way to localize dns entries? Meaning, that users from asia resolve mydomain.com to another ip than users from usa or europe. This would be helpful to give the users the server nearby. DNS ...
2
votes
3answers
2k views

Postfix: mails sent through sendmail binary are blocked because of wrong HELO

My server is using Centos 6.5 I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17. Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected ...
1
vote
1answer
42 views

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

How to configure Zenoss to list devices by name instead IP address automatically?

I've set Zenoss 4.2.3 to get devices from our entire network from all subnets (INFRASTRUCTURE -> DEVICES). But it returns me the device list only with the IP address, it doesn't obtain the hostnames ...
0
votes
1answer
54 views

How to change hostname without reboot? [closed]

I follow the instructions in http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart. The host name is changed correctly when I verify using "hostname". However, there is ...
2
votes
3answers
2k views

Redhat doesn't set my desired hostname on reboot

I have a redhat (EL5) server that I need to change the hostname on. I'm trying to put it back into a known state to help with server provisioning activities. As part of changing the hostname, I'm ...
9
votes
6answers
16k views

How to make a Macintosh register a Hostname to the DHCP Server?

I have a MacBook running Snow Leopard in our company's internal network, which is basically a Windows domain network. Our TO department complains about my MacBook not specifying a name to the DHCP ...
0
votes
2answers
94 views

IIS Website access by both hostname and IP address?

If I set up a website in IIS with a hostname (local.somewebsite.com) (having added it to HOSTS file) and also specify an IP address (127.0.0.1), the website is accessible by the hostname, but hitting ...
0
votes
1answer
737 views

nslookup cannot resolve hostname for machine on external domain from internal domain

Keep in mind, this issue is exclusively for Windows platforms. For a particular company, they have an internal and external domain. One is behind the firewall, and one is in front. I am sitting on ...
6
votes
5answers
4k views

Making iptables easier to maintain

My network is completely locked down except for a few sites which are whitelisted. This is all done through iptables, which looks something like this: # Allow traffic to google.com iptables -A ...
1
vote
1answer
66 views

Postfix and “local mail”

That's the first time I'll configure a mail server. I explain you the complete picture. Currently, my company company.com has an ...
1
vote
2answers
237 views

Confused about Linux Hostname, DNS Hostnames and FQDN Hostname

This might sound stupid and basic to some of you, but I am still so confused about this even after reading numerous sources on the net. My questions still unclear are: Is the Hostname in machine ...
0
votes
1answer
47 views

Using multiple hostnames on IIS

I have one website called Default Web Site on IIS that grabs all incoming traffic by using all unassigned IP address and omitting the hostname on the binding So I can access it locally by going to ...
31
votes
3answers
2k views

Is it valid for a hostname to start with a digit?

Is it valid for a hostname to start with a digit? e.g. 8server From reading RFC 1123 it would appear that this is a valid hostname. However, I'm not clear on whether a hostname can only start with a ...
0
votes
1answer
43 views

Wrong FQDN on Debian server

I have defined the server's FQDN and its alias in /etc/hosts: X.X.X.X server1.example.com server1 However, the command hostname --fqdn only returns the alias (server1) and not the FQDN. Why is ...
1
vote
4answers
740 views

Setting FQDN hostname and dot

I was wondering if I am editing a file such as /etc/hosts or /etc/sysconfig/network should I put a . at the end of the name. such as test.example.com. Is there a difference? Would anything break ...
-1
votes
2answers
117 views

What's the correct way to propagate a host's IP address change on a LAN? [closed]

On Ubuntu, when I change my eth0 network interface configuration between static and DHCP, the interface settings are updated nicely, but there seems to be a problem updating the DNS. Before changing, ...
1
vote
1answer
59 views

AWS EC2 IPTables converts source/dest subnet into ec2.internal hostname?

I have a Debian 6.0.7 x64 AWS EC2 server that I'm running a couple QEMU virtual machines on (don't ask.. long story). I have some IPTables rules to NAT/Forward any traffic (on ports 8080 and 8081) ...
0
votes
2answers
2k 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 ...
6
votes
2answers
27k views

How to set the domain name on GNU/Linux?

Similarly to hostname that can be changed in different ways: temporarily using the hostname command permanently using /etc/hostname (or /etc/sysconfig/network or /etc/HOSTNAME, these files are used ...
0
votes
1answer
28 views

How do I handle the server hostname with multiple web sub-domains and email? [closed]

A while back, I set up a server using nginx for a web site, example1.com, along with email using sendmail and all went well. Recently, I set up a second web site, example2.com, along with email in the ...
-2
votes
1answer
55 views

changing the hostname doesn't map the local ip to hostname

I tried changing my hostname from localhost.localdomain of fedora machine by giving the below command hostnamectl set-hostname example.com --static After that I did a network restart . But when I ...
0
votes
3answers
3k views

Hostname Problem On WHM / cPanel Installation [closed]

My CentOS 5.6 server's hostname was "centos" . And then i change it to my domain : hostname domain.com And i started to installing WHM / cPanel as explained in here : ...
92
votes
2answers
35k views

Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?

This may be a bit of a noobish question, but I was taking a look at /etc/hosts on my new Xubuntu install and saw this: 127.0.0.1 localhost 127.0.1.1 myhostname On most 'nixes I've used, the second ...
-1
votes
2answers
305 views

Rules for setting hostname [duplicate]

It's thought that for the hostname should be used FQDN. I have a doubts about whether using: host.domain.ltd and domain.ltd for the hostname is the same thing and will be equally correct / ...
0
votes
1answer
1k views

SSH/Git: Specify paths with hostname instead of IP

Alright, quick question. When SSHing to a server using the IP, I can also specify a path to use, such as: git clone ssh://git@127.0.0.1:/home/git/project.git SomeProject However, when using a ...
0
votes
2answers
341 views

SSH into EC2 with dynamic public IP address

Typically I set ssh aliases as follows: ssh -i ~/path/key.pem ubuntu@public-host-name.compute-x.amazonaws.com But with EC2 instances, the public-host-name changes whenever an instance is stopped and ...
2
votes
1answer
144 views

Unidentifiable DNS entry

I have a DNS lookup for an IP that is coming from somewhere however I cannot locate where. I have checked my entire DNS infrastructure and the device itself but all have the correct name, when I run ...