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
1answer
3k 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
489 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
675 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
1k 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
888 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
940 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
883 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
95 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
5k 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
117 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
839 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
363 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
492 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
2k 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
96 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
125 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
963 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
428 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
631 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
628 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 ...
4
votes
4answers
8k 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
387 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
649 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
191 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
437 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 ...
1
vote
1answer
471 views

How can I set alias names for hostname on Redhat?

I'm aware that modifying /etc/sysconfig/network can set a permanent hostname for my server. But I also want to set some alias for it, and make several clients able to resolve them, how can I achieve ...
1
vote
3answers
4k views

VMWare/VirtualBox: Ping don't work in Host-Only network adapter from windows host to linux guest

Scenario: Windows host running XP SP3 (Virtual) Ubuntu Server 10.04 (fresh install, only selected "LAMP Package" option during installation. Tested on VMWare Player / VirtualBox I can ping by ip ...
0
votes
1answer
62 views

How to change URL of local VM

Sorry for the noob question but I can't seem to find proper literature on the subject: Currently I'm forced to type my IP address to get to my CentOS VM local environment: 192.168.56.101 How can I ...
0
votes
2answers
3k views

$_ENV['HOSTNAME'] not being set, potential problem with Apache?

I have 3 LAMP servers. Today I have noticed many of the following in the PHP error log: [11-Feb-2010 10:58:03] PHP Notice: Undefined index: HOSTNAME in ... Of course, this is happening in PHP ...
0
votes
2answers
587 views

setting server hostname

I'm using ubuntu 10.04 on my server and I'm looking to set the hostname. Looking around it seems I have to set this in the /etc/hostname file, but on my system I do not have one. Typing hostname ...
2
votes
2answers
1k views

user version of /etc/hosts

I am a user on a Solaris 10 system and I wish to maintain my own version of /etc/hosts. This file will function like a normal /etc/hosts, except it will only resolve hosts from processes that I run. ...
3
votes
4answers
8k views

Setting new hostname on CentOS, it changes back after restart

On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command. I want to change it to 'localhost.localdomain' because ...
8
votes
4answers
15k views

Will Active Directory Allow You to Add Two Computers of the Same Name?

I'm hoping someone can confirm my observations because I'm questioning my memory... The title kind of says it all. While working rapidly on deploying a number of similar systems, it appeared that we ...
0
votes
2answers
1k views

Unable to resolve host name on certain ISP

Two people on the same office. One uses WIFI on a broadband network and the other one uses Tele2 3G (Sweden), both from a Macbook Pro. When they try to open www.good-morning.se on their browser, the ...
0
votes
2answers
137 views

Effects of mis-configured hosts file?

SSH and sudo were starting very slowly because /etc/hostname and /etc/hosts did not match. After adding a line for the hostname in the hosts file, the initial 2-4 second delay no longer occurs. At ...
0
votes
1answer
178 views

Resolving samba server hostnames

I have a samba server and I want to access it by name from my windows machine. Currently if I can use the ip address e.g. \\192.168.0.104 (although it does not appear automatically in network) to ...
17
votes
3answers
9k views

On Ubuntu 10.04, should /etc/hostname contain the server's FQDN?

On Ubuntu 10.04, should /etc/hostname contain the server's fully-qualified domain name?
0
votes
2answers
724 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
3answers
1k views

How does hostname relate to IP address on a server with multiple public IPs?

My hosting provider set up an Ubuntu-based virtual private server for me with three public IPs. I want to assign hostnames to those IPs as follows (I'm be using Dyn as my DNS): example.com -> IP_1 ...
2
votes
1answer
779 views

Ubuntu - get hostname -f to return fake “FQDN” without DNS

On my private local network, I need an Ubuntu host to convince itself (well, more specifically the Erlang "long name" tool) that it has a FQDN. It doesn't much matter what it is. But supposing my real ...
0
votes
1answer
2k views

nginx server_name based on $hostname

Based on the nginx wiki the $hostname variable is "Set to the machine's hostname as returned by gethostname ". I tried that and although gethostname doesn't work my debian box it still returns the ...
1
vote
1answer
866 views

iis vbscript remove all site bindings and replace with list of new bindings

I have a single host with 500+ bindings associated to it, and I would like to first purge this host of all its bindings and replace them from a list of bindings in a file. The format of the fill will ...
0
votes
2answers
208 views

ADODB Connection - Webserver doesn't resolve the hostname of the mssql server

I have a mssql connection resource file as belows: <% Set Conn01 = Server.CreateObject ("ADODB.Connection") Conn01.Open "PROVIDER=SQLOLEDB; Data ...
2
votes
1answer
136 views

Does not having FQDN in /etc/hosts cause any problems?

Just been looking through some servers and seen that the external ip is set up with the full and short names the wrong way round, e.g.: a.b.c.d myserver myserver.mycompany.org What sort of problems ...
0
votes
1answer
653 views

Trouble with resolving hostnames on CentOS using Bind

I'm taking a course on server administration at school and I have managed to set up virtual hosting in apache and a dns server on a virtual machine. However, I have now set up an old pc to run CentOS ...
1
vote
1answer
136 views

site name vs host name on iis 7 - adding a new site

I am adding a new site in the IIS7. It asked me to enter site name and host name. I didn't get the difference. Could you please explain about it. thanks !