Tagged Questions

A hostname is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may have ...

learn more… | top users | synonyms

-1
votes
3answers
39 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
17 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
101 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) ...
2
votes
1answer
24 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 ...
3
votes
1answer
44 views

Can a hostname be added to syslog-ng?

How can syslog-ng be configured to send both the hostname and the IP address. Currently, logs are sent with the IP address of the device/machine, but we want to add the hostname so I could keep my ip ...
1
vote
3answers
59 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
0
votes
1answer
40 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
vote
1answer
34 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
57 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
51 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
54 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
53 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 ...
0
votes
1answer
109 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 ...
0
votes
0answers
26 views

Is zenoss capable of holding a hostname

Hey i am trying to know with zenoss is capable of holding a hostname (DNS). For example i want to my service to search by hostname and not by ip and the problem is when the IP changes, i am him to ...
0
votes
1answer
33 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 ...
0
votes
1answer
62 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
92 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!
9
votes
4answers
387 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 ...
-3
votes
1answer
56 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
123 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 ...
0
votes
0answers
183 views

OSX Lion ignores local (mDNS) names when DNS search domains have a match

On the LAN, local names are resolved with mDNS. Outside the LAN, the server can be reached with the same name iff the domain is in the DNS search domains list. With Snow Leopard, having "local" and ...
0
votes
1answer
55 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 ...
2
votes
4answers
210 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 ...
3
votes
2answers
80 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 ...
-3
votes
3answers
70 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 ...
12
votes
1answer
613 views

What does 127.0.1.1 represent 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
229 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 ...
-1
votes
2answers
66 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 ...
0
votes
2answers
100 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
1answer
126 views

Running teamcity in LAN

I am trying to set up a teamcity server in my local network so that it can also be accessed from outside. the server runs on port 8111 and can be accessed fine from inside the lan. In my router ...
1
vote
4answers
227 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 ...
0
votes
2answers
204 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
58 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
49 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 ...
0
votes
0answers
105 views

Plesk don't run the web interface because it redirects to 127.0.0.1

I'm having a very strange problem with plesk 10.4.4 in a Ubuntu server. It's when i point in the browser the hostname with https: and port 8443 it redirects me auto to https://127.0.0.1/relay. Why ...
0
votes
2answers
101 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 ...
0
votes
3answers
82 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
127 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
134 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 ...
0
votes
1answer
121 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
92 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 ...
0
votes
4answers
97 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 ...
22
votes
4answers
1k 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 ...
2
votes
1answer
45 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
180 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
34 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 !
0
votes
1answer
122 views

Links inside intranet: use fully qualified name, or just hostname?

When working in an intranet, it's often necessary to set up links to other computers (HTTP hyperlinks or shortcuts, hostname in various server config files, SSH shortcuts etc.). In all these cases, ...
0
votes
2answers
233 views

Some questions regarding Hostname

I just bought a new VPS hosting plan and i have a few questions. Hope someone here can clear the doubts for me. 1) Is it necessary to have a real domain for a vps hostname? I suppose i can just ...
0
votes
2answers
128 views

host resolution extremely slow using wget on local dev machine. fast using browser

On my local Ubuntu 10.04 dev machine, if I do a wget for a web address such as "wget http://www.google.com", it gets stuck on "Resolving www.google.com" for up to 30 seconds before the response is ...

1 2 3 4 5