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
votes
0answers
31 views

Changing hostname reboot reverts back to original [migrated]

So, What I'm trying to do is simply change the hostname permanently. I can update the hostname but when a reboot is issued the original hostname is used! I'm aware there is a file hostname located ...
-2
votes
0answers
15 views

Resolve hostname of a Centos 6.5 dedicated server with a FQDN registered with Godddy [on hold]

I have a domain registered with Godaddy and I am setting up a dedicated server for learning purposes. I want the server's hostname to be resolvable. I created custom NS records (ns1.mydomain.com & ...
1
vote
1answer
64 views

How to set the hostname for a Debian Jessie system?

Debian Jessie comes with systemd. The recommendation to set the hostname is using hostnamectl for systemd. However, this command does not work (even to display the current hostname) on the Debian ...
0
votes
1answer
19 views

Get RD user client hostname in Server 2012 R2 RD deployment [duplicate]

There is currently nowhere in the server manager GUI that I can see, that shows me the hostname of the machine a user is using to log onto our remote desktop deployment. I have had a quick look ...
0
votes
4answers
117 views

Determine hostname of Windows system on network

I need to determine the hostname of a remote Windows system. Typical DNS-based methods don't work in my situation. ping -a 1.1.1.1 nslookup 1.1.1.1 nbtstat -a -n 1.1.1.1 Ideally, to determine what ...
0
votes
0answers
34 views

Setting DHCP hostname with Cobbler

I have configured the DHCP to work with Cobbler in a way that the client will get its hostname assigned by DHCP (by using the option host-name in /etc/cobbler/dhcp.template). It works fine if I run ...
0
votes
2answers
266 views

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

Persistent Bash Prompt Prefix Linux [migrated]

I want to have the FQDN as bash prefix instead of just using the hostname. So I can change root@web: ~$ to root@web.domain.tld: ~$ I already know that that is possible by using: ...
-3
votes
1answer
59 views

DNS is not pointing [closed]

Let me clear scenario first 1)I purchased static IP from network provider and his name server is INPUDIIDNSPRPRD01.TATACOMMUNICATIONS.COM and INCHVSIDNSSEPRD01.TATACOMMUNICATIONS.COM 2)Then I just ...
0
votes
2answers
35 views

Configure Exim to send to internal & external addresses

I inherited a web site that's apparently using Exim as its MTA. Let's say that we can access the site at: http://example.com/ The users who work at Example Corp. noticed that they did not receive ...
1
vote
1answer
33 views

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

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

Hostname not changing (Ubuntu 14.04)

When I set up a VPS, I set the name to "main" so both my /etc/hosts and /etc/hostnames files had one entry (that being "main"). So I set up root ssh access and type "hostname" and it gives me "main". ...
-2
votes
1answer
120 views

my host has no PTR record [closed]

when i check my host i get this host myIP xx.xxx.xx.103.in-addr.arpa has no PTR record So i dd this to my /var/named/domainname.com.db myHostname. IN A myIP xx.xxx.xx.103.in-addr.arpa. IN PTR ...
1
vote
0answers
15 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
22 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
25 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 ...
0
votes
1answer
54 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 ...
-1
votes
2answers
194 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
1answer
40 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 => ...
2
votes
1answer
223 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
103 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
58 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
94 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" ...
1
vote
1answer
101 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
1answer
147 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
72 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 ...
0
votes
2answers
255 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 ...
1
vote
1answer
74 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
279 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
62 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
3k 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
47 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
votes
2answers
135 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
69 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) ...
1
vote
2answers
3k 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
1answer
29 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
76 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
2answers
440 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
149 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 ...
0
votes
1answer
125 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
74 views

Website won't come up on web server even though it comes up on other machines

I have a website that I just created from scratch and all I've done is put a index.html file in it with a hello message. If I try to go to the website from the web server itself it won't come up, ...
0
votes
0answers
132 views

Configuring Samba to allow access from a DDNS domain IP

I have a Debian VPS which I host a website from. I set up a Samba share to enable me to edit website files from my Windows 8 computer. For security I set up a username and password, also I set 'hosts ...
0
votes
1answer
36 views

rDNS and hostname conflict

My server has 3 IPs: 2 for dns stuff for example 192.0.2.1 and 192.0.2.2, and one that I use for outgoing email, let's say 192.0.2.3. My hostname is mail.mydomain1.com. The problem began when I ...
-2
votes
3answers
1k views

nginx and php | can't resolve hostname and make connection with FQDN

I don't know what can cause this problem, nginx configs or php or anything else but : I can not make connection when host value for these php functions listed below is set to FQDN like ...
5
votes
2answers
103 views

Definition of Fully qualified domain name

I tried to search to Internet for a definition of a FQDN. Wikipedia says, a FQDN specifies its exact location in the tree hierarchy of the Domain Name System (DNS) I would interpret this, that ...
1
vote
1answer
36 views

Fedora 20 : Removing domain info (converted to hyphens)

Im noticing that in Fedora 20, if I modify the HOSTNAME=.... parameter to include a typical hostname: HOSTNAME=machine1.local It actually replaces the "." with a "-" character , and machine1.local ...
0
votes
1answer
34 views

Correctly configured /ec/hosts file?

I've come to a confusion regarding the /etc/hosts file. Both of these version work: 1 192.168.2.1 example.com example 2 192.168.2.1 example.com Which one is the correct one?
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 ...
6
votes
1answer
125 views

To zero pad hostnames or not?

Given an array of similar hosts, what are some of the advantages and disadvantages of zero padding or not? Zero Padding www-01 www-02 ... www-11 www-12 No Padding www-1 ...