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

learn more… | top users | synonyms

-2
votes
0answers
5 views

Configuration of “Same Host Name” for my all LAN Machines under squid proxy

I am having the network model as Modem N/w Switch ISDN (Airtel) -----------> Server(Centos) [Squid] -----------------> Client Machines. ...
0
votes
0answers
5 views

How do I utilize hostnames on a local server? [migrated]

I'm familiar with buying hostnames/domains and vaguely familiar with DNS servers for resolving domains to IP addresses, but, for a home solution I know absolutely nothing. Let's say I want to host a ...
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/" => ( # ...
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
43 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
3k views

hostname lookup failure

I installed CentOS 6.4 Minimal Install on Virtual Box. Now I have reinstalled Virtual Box, and whenever I reactivate the guest OS and assign the VHD on Virtual BOX, I get : continuously. I have ...
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, ...
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
15k 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
20 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
627 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 ...
5
votes
5answers
3k 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
57 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
155 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
26 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
30 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
649 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
82 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
38 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
795 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 ...
5
votes
2answers
21k 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
25 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
36 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
2k views

Hostname Problem On WHM / cPanel Installation

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 : ...
84
votes
2answers
32k 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
243 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
228 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
139 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
55 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
53 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, ...
2
votes
2answers
864 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 ...
9
votes
3answers
24k 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 ...
0
votes
1answer
30 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 ...
35
votes
7answers
36k views

Is it possible to alias a hostname in Linux?

Is it possible to alias a hostname in Linux? It has been asked by jmillikin at various Ubuntu forums as follows: Is it possible to create a hostname alias? Sort of like /etc/hosts, but with other ...
-2
votes
3answers
739 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 ...
2
votes
5answers
6k views

Access linux machine by hostname within LAN?

I have a LAN setup with a bunch of windows and linux boxes. The LAN is built on top of the AT&T DSL Router. I don't have any type of DNS Server running. All the windows machines can identify ...
5
votes
2answers
79 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
28 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 ...
10
votes
8answers
7k 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 ...
0
votes
1answer
31 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?
0
votes
1answer
86 views

Hostname for WHM account transfer

I'm afraid to ask this question, because it seems like it should be something I should know, but I just don't. I'm a reseller of shared hosting for one of the worst hosting companies on the planet, so ...
0
votes
0answers
139 views

WHM - using SSH, what settings to change to enable login via MYIP:2086 / MYIP:2087

I somehow introduced an error into my setup. All the sites are still displaying properly, and I can access via putty quite nicely. But I cannot access WHM. I had set it to force login via the ...
3
votes
2answers
285 views

Why not assign the hostname to the loopback address in /etc/hosts?

So I understand that the hostname should (at least in Debian systems) be set in /etc/hostname. To get the FQDN (through hostname -f) the system finds the IP from the hostname through /etc/hosts and ...
-4
votes
1answer
33 views

What is the significance of having the correct hostname for a cloud server in the control panel of the hosting company [closed]

What could be a problem that could arise if i do not have the correct hostname as my device name for the cloud server in a control panel of my hosting company basically the device name is supposedly ...
0
votes
1answer
319 views

Exim, hot to route local mail to other adress

I have setuped an Exim4 server on my debian wheezy server. This mail server only sends mail coming from localhost. The purpose is sending mail for my website. I have cron tasks and other services ...
52
votes
6answers
444k views

How to determine the hostname from an IP address in a Windows network?

My LAN has 50 Windows hosts. At the Windows command line I try ping to get the IP address of a running Windows machine. The question is how to get hostname of a specific IP address in the same ...
0
votes
1answer
37 views

PTR entry is setting my hostname. How do I stop it?

I'm running RHEL 6.5. My machine is getting it's IP address from our DHCP server. I'm getting this strange behavior where the machine will apparently query the DNS server for a PTR entry for the IP ...
1
vote
2answers
3k views

How to set hostname.domainname from dhcp

Running Centos 6.x using dhcp, we want to set the hostname to be FQDN that's obtained from a combination of dhcp options. As an example if I have two dhcp options option host-name "foobar"; option ...