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
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/" => ( # ...
8
votes
8answers
13k views

Unix shell: easy way to get IP from hostname

What is the easiest way to get the IP 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 same way on ...
3
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, ...
1
vote
2answers
1k views

Hostname or subdomain? [duplicate]

I understand that, in the direction "webmail.chemistry.iit.edu", "chemistry" is a subdomain and "webmail" the hostname. Then, why in "mail.google.com", according to Google's documentation, is "mail" a ...
2
votes
1answer
13 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
30 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
1answer
3k 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
0answers
23 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 ...
6
votes
5answers
2k 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
0answers
34 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
11 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
46 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 ...
93
votes
7answers
97k views

Setting the hostname: FQDN or short name?

I've noticed that the "preferred" method of setting the system hostname is fundamentally different between Red Hat/CentOS and Debian/Ubuntu systems. CentOS documentation and the RHEL deployment guide ...
25
votes
5answers
10k views

Hostnames - What are they all about?

I've recently been "forced" to perform some sysadmin work, while this isn't something that I absolutely love doing I've been reading, experimenting and learning a lot. There is one fundamental aspect ...
1
vote
1answer
43 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 ...
5
votes
9answers
559 views

Reusing names in a naming scheme [closed]

How do people feel about reusing names in a naming scheme? If you replace a computer should the new computer take the name of the old computer? If you do reuse names, do you wait until you have run ...
-1
votes
2answers
86 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 ...
1
vote
7answers
9k views

linux command line: find a host's canonical hostname

what is the easiest way to get a host's canonical host name from linux's command line? If it matters, my shell is bash. CLARIFICATION: I want another host's canonical hostname, either by ip or by ...
-1
votes
1answer
824 views

Ubuntu 10.04 server change ip

I have ubuntu 10.04 server configured to ip address x.x.x.200 and also have windows server 2003 with ip address x.x.x.100 (already setup as www.some-domain.com) Currently i trying to shutdown windows ...
1
vote
1answer
968 views

MySQL command appends '@localhost' to username

I just can't seem to figure this one out. I want to use the command line to connect to a MySQL database residing on another server. I went ahead and created the username and password for the user. ...
3
votes
4answers
188 views

How to find all hostnames (even laptops that aren't currently on the network) on a network?

I manage a network that has a lot of laptops. The users that use the laptops are frequently traveling. When someone gets a new computer I run into a problem determining what the hostname should be. ...
0
votes
0answers
27 views

Updated hostname of server but old hostname still appearing appearing in Postfix logs?

Been having some trouble with emails bouncing when being sent to certain addresses from our CentOS 6.4 Media Temple DV server. I am no expert but after checking the mail logs it appeared that they ...
2
votes
2answers
3k views

How does Windows resolve hostnames without DNS?

I have a Windows 7 computer and a MacOS X 10.6 computer that are connected to the same LAN using a 10$ hub. On MacOS I set the computer name to "mymac.local" in "preferences->sharing". The Windows ...
10
votes
2answers
45k 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 ...
1
vote
1answer
26 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" ...
2
votes
1answer
55 views

Postfix: Set custom SMTP Banner based on address used to access server

The Postfix parameter smtpd_banner sets the text of a server's SMTP greeting banner. The default setting is: smtpd_banner = $myhostname ESMTP $mail_name My mail server has several unique IP ...
8
votes
10answers
2k views

Naming convention for computers [duplicate]

Possible Duplicate: Naming convention for PC in a network What naming convention your organization uses for identifying computers within the organization. These are internal for the ...
0
votes
1answer
60 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 ...
0
votes
1answer
881 views

Reverse DNS does not contain the hostname error from MXToolBox

I am not sure where I have gone wrong in my configuration but I am getting the error Reverse DNS does not contain the hostname for my domain sparkdojo.com I had the hosting company set the PTR record ...
0
votes
2answers
59 views

ssh not using /etc/hosts to resolve hostnames

This is how my /etc/hosts file looks in /etc/hosts: If I try to connect to one of these machines with ssh: ssh -p 22 ramy@Ramy-MacBook I get an error: ssh: Could not resolve hostname ...
1
vote
1answer
63 views

How to forward hostname based request to a specific docker container

I'm trying to use hostname based connecting to a docker container. i.e: I connect my browser to web01.docker.example.org (assuming a wildcard DNS record on *.docker.example.org pointing to my docker ...
3
votes
1answer
962 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
134 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
144 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
115 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
223 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 ...
0
votes
2answers
405 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 ...
0
votes
3answers
204 views

hostname -f returns incorrect information. information that applies to another server

I have a server that has been working just fine with the correct hostname since i set it up several months ago, but now, it thinks it's hostname has changed. It started as hostnamea.example.com but ...
8
votes
5answers
9k views

Can't connect to MySQL using 'localhost' but using '127.0.0.1' it's ok?

My /etc/hosts file looks like this: 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ...
-3
votes
1answer
87 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
160 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". ...
1
vote
1answer
347 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
39 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 ...
1
vote
1answer
42 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
98 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 ...
11
votes
4answers
1k views

Are separate dns records necessary for web and mail on a single server?

When setting up a web/mail server on a single server or VPS with one IP address almost every guide online follows the same structure for DNS: example.com. IN A 192.0.2.0 ...
-2
votes
1answer
285 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
2answers
42 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 ...
18
votes
8answers
11k 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 ...