Questions tagged [hostname]

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

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 appended the name of a DNS domain, separated from the host specific label by a period (dot). In the latter form, a hostname is also called a domain name. If the domain name is completely specified including a top-level domain of the Internet, the hostname is said to be a fully qualified domain name (FQDN).

Hostnames that include DNS domains are often stored in the Domain Name System together with IP addresses of the host they represent for the purpose of mapping the hostname to an address, or the reverse process.

Source: Wikipedia.

624 questions
0
votes
1 answer

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/ http://app.remotesite.com/ So this should take a request like…
jfrank
  • 168
  • 1
  • 1
  • 8
0
votes
1 answer

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 subdomain.domain.com subdomain Suppose my site name is…
Terminal
  • 103
  • 4
0
votes
1 answer

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 starts broadcasting its hostname on both…
staticfloat
  • 257
  • 1
  • 3
  • 8
0
votes
1 answer

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 change this to something like localhost?
AlxVallejo
  • 1,086
  • 4
  • 11
  • 19
0
votes
2 answers

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 does return a value Is there anywhere else this could…
terrid25
  • 251
  • 2
  • 5
  • 12
0
votes
1 answer

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 hostname, the command thinks the path is part of the…
0
votes
2 answers

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 one with Tele2 3G gets no reply. Running ping…
nitech
  • 113
  • 4
0
votes
2 answers

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 first I was surpised the mis-configured hosts file…
Leftium
  • 293
  • 2
  • 8
0
votes
1 answer

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 access the machine from windows, but I would like to…
zenna
  • 101
  • 1
0
votes
2 answers

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 Source=forum;UID=forumuser;PWD=forumpass;APP=;Initial Catalog=forumdb" %> The webserver can interact…
0
votes
2 answers

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 received. If I type www.google.com into a browser,…
Michael B
  • 341
  • 1
  • 2
  • 9
0
votes
2 answers

Cannot ping linux (RedHat) machine by hostname

For some reason, a linux (RedHat) machine that I have is not ping-able by hostname! It is ping-able by IP address though. I have the same network configurations as another linux (RedHat) machine that is ping-able by hostname and IP address, and…
O_O
  • 635
  • 3
  • 15
  • 25
0
votes
3 answers

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 :…
Eray
  • 139
  • 2
  • 12
0
votes
1 answer

Problem with accessing a website hosted on a local device connected to the local wireless network

I am running Lighttpd 1.4.28 on an embedded device. Apart from the webserver, I run udhcpd and dnsmasq to allow other devices to connect to my embedded device to access the website. My device has the capability to join other networks. So when I make…
Mahendra Liya
  • 339
  • 1
  • 5
  • 13
0
votes
2 answers

How to change the hostname for Websphere Portal Server 6.1

I have a system with Websphere Application Server 6.1.0.35 and Websphere Portal Server 6.1.0.5. Now I changed the hostname. Since the official IBM note on this is not available anymore (400 Bad Request) - how do I tell Websphere Portal that its…
Zeemee
  • 113
  • 1
  • 6