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
4answers
7k views

hostname -f says “hostname: the specified hostname is invalid”. Guess why?

hostname -f says "hostname: the specified hostname is invalid". The hostname (FQDN) specified in /etc/hostname is also listed in /etc/hosts and is pingable. No actual DNS server yet of the host knows. ...
-1
votes
2answers
974 views

DNS, domain, firewall issue on port 8090

I have a server running Jira and Confluence. Jira @ http://jira.domain.com:8080 Confluence @ http://wiki.domain.com:8090 I can reach the applications from the server, from my home pc. But on my work ...
0
votes
2answers
413 views

Fedora 17 - Can't access remote machine using hostname [closed]

I am using Fedora 17 and am trying to access a remote machine (running Fedora 15) using its hostname which isn't working. The machine is right next to me on the same switch as my machine (so they are ...
-3
votes
1answer
953 views

How To Change MS SQL 2008 R2 Hostname? [closed]

I Installed MS SQL 2008 R2 Express And Plesk 11 MS SQL Hostname is ".\MSSQLSERVER2008" Right Now ! I Want Change it to "localhost" Can U Help Me ?
14
votes
5answers
22k 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 ...
-1
votes
3answers
291 views

Multiple hostnames for one server?

Is this possible? The reason I ask this is because Gmail keeps attaching the 'via' field in the email messages originated from one of my sites that resides in a server with the hostname of a whole ...
0
votes
1answer
117 views

Access my local server by hostname or servername

I have a local host server hosting a few applications in tomcat which comes through a apache proxy The client or User trying to access these application has to access them like ...
1
vote
0answers
85 views

IIS: hostname breaks website

I have a Azure WindowsVM with a IIS. Everything works fine until i add a hostname in the bindings. Then I get a 404 error.
1
vote
2answers
840 views

Is there a practical server host naming convention? [closed]

To maintain many servers, how do you give a name to your servers? By only server's hostname, I would like to classify the server's kind of service, whether virtual machine or not, stages(alpha, beta, ...
2
votes
4answers
70 views

Forcing SSL with mod_rewrite

I have the following statement and it works perfectly to redirect all requests for "www" on :80 to force the browser to the same location on :443 RewriteEngine on RewriteCond %{HTTPS} !=on ...
1
vote
1answer
638 views

Permanently change hostname of Debian Squeeze virtual server

I have a virtual server running Debian Squeeze. I can change the hostname by running the hostname new.host.name command or by editing /etc/hostname and then running /etc/init.d/hostname.sh, but after ...
-3
votes
3answers
374 views

Connecting hosts in same network by their fqdn

Lets say I have 2 servers. They are on the same network, same subnet and the same domain. Everything is same. server1.something.internal -> 10.0.0.1 server2.something.internal -> 10.0.0.2 So ...
2
votes
1answer
879 views

EC2 hostname ubuntu and ejabberd

I have questions related to the host name in Ubuntu EC2 instances. I have a IPS elastics for hosts that want to be seen from the internet and I have pointed out in the DNS entries with the computer ...
1
vote
1answer
148 views

Is using wildcards for hostnames in dhcp module of dnsmasq possible?

I want to have all machines with a hostname that starts with foobar- assigned an IP from a specific range with an infinite lease. All other machines should have a volatile IP. I did the following but ...
0
votes
1answer
202 views

How can I manage hostnames across multiple servers? [closed]

In a lot of documentation I've seen recently, servers are referred to by internal hostnames, such as production-1, production-2, db-1. I realize I can associate these names in the hosts file on the ...
2
votes
1answer
3k views

Resolve hostname without FQDN

I'm trying to configure Bind for internal LAN usage only (Linux server, Windows clients) and I would like to resolve workstation both by fqdn and shortname. For example, without DNS server, supposing ...
0
votes
2answers
125 views

confused about hostname- what do i set it as?

I am a little confused about the hosts file in Linux, and what I have to set in it. I am setting up an email server which is on our gateway. Now this machine obviously has an internal and external IP ...
0
votes
2answers
3k views

How to request DHCP clients to resend their hostnames after a router reboots

Assume that I have a router with DHCP server on it (well, it is actually a dd-wrt router). After rebooting the router, all the DHCP clients's hostnames are lost: I couldn't see the names of the ...
1
vote
2answers
114 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?
4
votes
1answer
6k views

ec2 instance - is it safe to change /etc/hostname?

I'm having several ec2 independent instances(staging and production). They do not talk to each other in any way. Is is safe to modify /etc/hostname for better clarity of what instance you've logged ...
1
vote
1answer
666 views

OpenVZ tells me: hostname: the specified hostname is invalid on boot of the VE

I’m using Proxmox 2.1, which is based on Debian 6, for my OpenVZ installation. Which shouldn’t matter but I wanted to mention it before I begin with my problem. I imported several VEs into my newly ...
0
votes
1answer
4k views

Could not resolve hostname in curl, wget, yum on Centos

After I freshly installed a Centos, I can not get yum, wget or curl to work. All I get is : $ curl http://www.google.com curl: (6) Couldn't resolve host 'www.google.com The most surprising part is ...
3
votes
3answers
531 views

Eliminating duplicate hostnames when deploying a Windows 2008 R2 VM from a template in ESXi 4.1

When deploying a Windows 2008 R2 VM in ESXi 4.1, why does the hostname always end up the same as the original VM that was converted into the template in the first place? How can this be rectified so ...
1
vote
2answers
706 views

Hostname doesn't resolve

Alright, so this is a hostname issue. I have a server setup on my College's network (which is allowed). The hostname is "moria.student.rit.edu". The IP address assigned to it is a roamer, and it ...
4
votes
1answer
2k views

What is the difference between a plain Amazon ec2 instance and beanstalk?

I am a solo developer and the sites I'm deploying are very small, usually hobby sites and I have a few questions about the Amazon services. Is there a reason for me to use beanstalk or should I just ...
0
votes
2answers
923 views

server host name and server ip address redirect (Debian, Apache)

I have the following folder structure on my Apache .../var/www/www.x.tt/htdocs .../var/www/www.y.tt/htdocs I have defined a virtual host for each. So if I type in www.x.tt in my browser I ...
1
vote
1answer
1k views

How to create an alias for linux server name?

The openSUSE server name is 'darkhelmet'. I want to create an alias 'dh' for it. So I can also type 'ssh dh' and 'http://dh' would work too. What file/files and where do I have to edit to make this ...
3
votes
1answer
988 views

Does AWS resolve same-datacenter hostnames to 10.* addresses for different customer accounts?

If I bring up two Amazon EC2 instances and run nslookup on one for the other's hostname, amazon will return a 10.* address. This is routable within amazon, and works just fine. But does this work ...
1
vote
1answer
96 views

Determining the State of a User using their Hostname

Not sure if this is the right SE site. I figured this question doesn't belong on SO, but if you think it doesn't belong here either, I apologize. I've been looking into determining the location, ...
0
votes
2answers
6k views

Cannot login SQL Server after changing machine name

After installing and setting up new machines in a domain, we decided to rename one of them which had a SQL Server instance installed. So I changed the hostname, everything went fine regarding the ...
-1
votes
2answers
120 views

can't use periods in ServerName [Lion Apache installation] [closed]

I can access my host like this… http://keggyshop but can't use periods… http://keggyshop.dev here's my virtual host directive… <VirtualHost *:80> ServerName keggyshop ServerAlias ...
0
votes
3answers
923 views

Disable server access by hostname

I'm using Apache HTTPD Server under Debian Squeeze. How can I prevent users to access my server by the server hostname(dummy.xxx.com) or ip address(xx.xx.xx.xx)?! For example: I do not want them to ...
0
votes
1answer
411 views

Tomcat 5.5 IP redirect to Hostname

How to setup Tomcat if my user entered "http://192.168.0.1:8080/axis2", it will redirect to http://servername.com:8080/axis2? I want the url/hostname appeared on user's web browser instead of ip ...
0
votes
3answers
4k views

Cannot ping Ubuntu server by hostname

I know this is already asked but I can't find a clear answer. I put a new Ubuntu server in my LAN and I can't ping it but the hostname. I don't want to edit all my LAN windows hosts's file (+40 pcs) ...
3
votes
1answer
561 views

Why won't RabbitMQ respect my hostname on EC2/Ubuntu Lucid?

I've got a fresh installation of rabbitmq-server on a Lucid EC2 instance. The hostname is set correctly, but rabbitmq won't pick up the hostname, and insists on calling itself localhost. Any idea how ...
1
vote
3answers
3k views

Unix - how to get hostname along with domain name

In unix (solaris) is there any command where i can get hostname & domain name together?? ex. hostname -> servername domainname -> us.xyz.com i need it output as : servername.us.xyz.com
1
vote
1answer
97 views

DNS with centos

I have a centos box from linode and I have set the /etc/hosts /etc/sysconfig/network and /etc/resolv.conf to only one domain. Is it okay to host multiple domains on the same machine, while only one ...
1
vote
1answer
2k views

Is it possible to change a Windows hostname (NetBIOS name) using a script?

How can I change the hostname of a Windows server using a script? Doing this on a Linux server is very straightforward (change a couple file entries, and run the hostname command), but I don't know ...
0
votes
1answer
132 views

Virtual server (VM) running Ubuntu re-configures itself?

I'm helping to administer a VM running Ubuntu with Media Temple. The hostname was changed, and sendmail was removed and replaced with exim4. To change the hostname 'sudo hostname newhostname' was ...
0
votes
1answer
1k views

Can I force apache's mod_proxy to connect to the remote server by hostname, rather than IP?

I'm setting up Apache2 as a reverse proxy for a remote site. Let's assume the remote site is http://app.remotesite.com. Here is a snippet from my virtual host config: ProxyPass /pxy/ ...
0
votes
1answer
1k views

ssh can't connect using hostname

I'm setting up some server but I stubbled into an issue with one server. I setup a local dns server, and when I try to connect to this server with ssh alpha@alpha.stvns.com I will get : Permission ...
1
vote
1answer
500 views

Does the server hostname need to match the domain name of the email address you are sending from? Does the hostname need to be verifiable with DNS?

I am trying to diagnose why email won't send from a new RHEL v5.8 server. Sendmail is up and running, but everything is stuck in the queue (confirmed with mailq) with connection timed out errors. If ...
2
votes
2answers
776 views

Configure Zeroconf to broadcast multiple names

I want to broadcast multiple host names on a local network only from a single instance of Ubuntu Server 10 with Zeroconf or something similar. It has to be zeroconf or similar because it's going to ...
0
votes
1answer
748 views

Configuring /etc/host file in Ubuntu Server

I am configuring an Ubuntu server on Amazon EC2. The tutorial I am following says /etc/host to be configured like this. 127.0.0.1 localhost.domain.com localhost X.X.X.X ...
3
votes
1answer
4k views

Configure Avahi nss-mdns not to use local suffix with hostnames because of issue in mounting Samba share

How to configure Avahi & nss-mdns to resolve names in my small home network in the same manner as Windows does with NetBIOS or more recently LLMNR. For Linux, there are two options: Winbind aka ...
5
votes
4answers
11k views

How to get the fully qualified name (FQN) on Unix in a bash script?

I have tested hostname on several servers (RedHat, Ubuntu), and hostname -f has proven unreliable, returning sometime the short name only (as described in this question). I can see the fqn in the ...
0
votes
1answer
423 views

linux macvlan - stop from broadcasting hostname

I am trying to simulate two different computers on one box, using the macvlan module (which is awesome, by the way) but I have one small problem; When I create the macvlan Ubuntu 11.10 very helpfully ...
0
votes
2answers
706 views

CentOS 6.0 Server hostname changes at reboot

Every time I boot, CentOS 6.0 Server hostname disappears. I have to re-issue hostname command to reset it. Please help!
-3
votes
1answer
201 views

switching hostname when I resolve IP address reversely via “nslookup” command

There's a network issue in my office so I ran Look@LAN application to check network condition of some windows PCs. All of sudden, I found out a resolution of IP address of some PCs are switching ...
1
vote
0answers
441 views

No names resolve in new BIND installation - wondering if issue is that BIND cannot resolve the NS

When I configure a new domain using Webmin/BIND, I am asked for a Master Server. Webmin fills this value automatically with the hostname of my box. However, this hostname is made up and there is no ...