A hostname is a label, or name, that is assigned to a network-connected device and typically used as a human-friendly identifier.

learn more… | top users | synonyms

1
vote
0answers
69 views

CentOS 6, Webmin, Virtualmin

I have a VPS account running CentOS 6 with 3 IP addresses allocated to it for various SSL certificates. When I do an NSLookup for the IP addresses they resolve and display the wrong name. ...
0
votes
2answers
533 views

editing the host name in Linux

I needed to install some libraries (like libSM.i686) on my machine to be able to work with ANSYS Workbench (which is a fluid dynamic simulation software) and I encountered a problem in using the ...
3
votes
3answers
6k views

Why does my network set my hostname? How can I stop this?

(I'm using a Mac. It triple boots OS X.8, Gentoo, and Windows 7. I've only noticed the problem in OS X, but that's what I use most of the time so it might be occurring in other OSes.) I've used ...
0
votes
1answer
316 views

How access machine by hostname within a home network? [duplicate]

I have several Ubuntu computers connected (with wires) by Linksys E1000. Currently, I edit /etc/hosts on each machine to map the hostnames of all the machines and their corresponding IP addresses so ...
0
votes
1answer
66 views

How does a machine determine its host name?

Below is the output of the hostname command. bash-3.2$ hostname server1 How does the hostname command determine the hostname to be server1? I guess it checks with the DNS server as this is ...
0
votes
2answers
649 views

How to get fully quallified domain name of a hp-ux machine?

How to get full qualified domain name of a HP-UX machine as like of hostname -f in linux? From man pages, hostname command has no options. I could get fqdn by reading the /etc/resolv.conf file, but ...
8
votes
4answers
3k views

Finding IP or hostname of origin machine (ssh)

I connect to a number of machines constantly, from different physical locations (and thus different physical machines). Most of this is done though ssh, sometimes a gateway machine or two is required ...
-1
votes
1answer
52 views

Add 'www' entry to /etc/hosts

Using Windows and JetBrains IDEA; and trying to serve a hard coded .zip file for scala, since IDEA's plugin is hard-coded to a non-existent location on scala-lang.org. So I've added: 127.0.0.1 ...
0
votes
1answer
1k views

Automatic rename computer based on mac address

How to automatically rename computer host / name based on it's MAC address? I have 40 PC's and I need a script to rename them automatically at logon after I use ghost. Win7 environment.
2
votes
2answers
1k views

Only root can resolve DNS hostnames on Debian

I've set up a Debian 7 image on my ODROID U2 a few days ago and apparently I can only resolve DNS hostnames from a root login (su, sudo). From a normal user, I can ping IP addresses and names defined ...
0
votes
1answer
474 views

Is there a DNS query to obtain the DNS suffix of a PC on my network?

I'm trying to programmatically obtain the IP address of a remote PC on my network from the PC's hostname. The PC is running as an Apache server. It is my understanding that in the DNS query used to ...
0
votes
0answers
244 views

Dynamic DNS with tunnel/proxy to the public?

TL;DR: I want to be able to access my laptop publicly from anywhere, while my laptop could also be anywhere. Any Service, any port. Original Post: I want to be able to access my own computer from a ...
0
votes
0answers
38 views

Unknown hosts between 2 computers

I have 2 computers with Linux running on them: ip: 192.168.0.1 hostname: COMPUTER1 ip: 192.168.0.2 hostname: COMPUTER2 ip: 192.168.0.3 the router I configured the /etc/hostname files with the ...
0
votes
1answer
85 views

local interface IPs in /etc/hosts

Is it normal to put a machine's own network IP's into /etc/hosts ? I've never seen it done before, and i'm pretty sure it's a bad idea... There's a cultural habit here of /etc/hosts files that look ...
5
votes
2answers
180 views

Can I use an SSH alias as part of a hostname?

I have a bunch of machines under one domain that I frequently connect to; apollo.my.university.edu hades.my.university.edu zeus.my.university.edu and I use the same configuration settings for each of ...
0
votes
1answer
68 views

Set Server Host Name

I wan't to publish my hostname so that I can access the server from anywhere I want. How can I possibly implement this in golang? This can be related to defining java.rmi.sever.hostname to my IP ...
0
votes
1answer
2k views

Upgraded to Ubuntu 12.04 unable to resolve hosts now

I have updated to 12.04 from 10.04 where there was no problem reaching outside ip's hostnames. Now however I can not: root@sub:~# resolveip google.com resolveip: Unable to find hostid for ...
-1
votes
1answer
1k views

How to override Windows 8 Hostname (computer name) with different IP address?

I want resolve Windows' hostname (computer name) to another IP. 127.0.0.1 myhostname in hosts file doesn't work. ping myhostname shows that it have ethernet adapter IP (192.168.1.2). It works in ...
4
votes
3answers
10k views

How to remotely find out a linux hostname without the use of DNS?

If I want to find out how the hostname of a remote linux machine on my LAN is, how can I achieve this given I don't have access via SSH etc.? Probably depends if linux is part of a WINS domain I ...
2
votes
1answer
368 views

Creating hostsname aliases through dscl does not work in Mountain Lion

I read a few places that dscl is preferred over /etc/hosts for adding hostnames (for instance when developing). But in Mountain Lion (OS X 10.8) I cannot get it to work (others too). I have read ...
1
vote
2answers
3k views

How do I hide my username in irc?

I'm using irssi for my IRC client, and whenever I connect to a channel (e.g., #whatwg), it greets me with the line and I've tried the command line 0:22 -!- <nick> [~kalaracey@12.345.678.90] ...
0
votes
0answers
16 views

ZNC - How can I change my hostname? [duplicate]

How can I change my hostname? I have a ZNC installation already.
1
vote
1answer
1k views

change DNS name on raspbian (debian)

I just installed raspbian on my raspberry pi, and was wondering why I can't use it's hostname from other machines. on my router, I can see which computers are connected by their name, for example a ...
3
votes
1answer
1k views

Hostname resolution of Linux machines with static IP

I have couple of linux servers that I to assign static IPs to because I'm doing some CARPing and Vlans. The way my DNS server is set, it gets the hostnames dynamically from the nodes, as soon as ...
0
votes
0answers
243 views

DNS leak: Looking up own hostname with DNS queries

I was checking a proxied program for DNS leaks with tshark when I noticed this: 13.170066 10.0.2.15 -> 192.168.1.1 DNS 66 Standard query 0xd473 A [hostname] 13.753496 10.0.2.15 -> ...
2
votes
1answer
739 views

How can I make OSX terminal tab names the same as .ssh/config host aliases

Setting up a .ssh/config is a great time saver. The host aliases with user defined names make it easier keep track servers and key files. However, the OSX terminal tab names are displaying what ever ...
0
votes
1answer
63 views

How do I map a domain name to a full name in windows

I have some links that are generated in a foreign unit of our company and do no list the full fully qualified domain name(I guess it works over there), just the hostname, can I map the hostname to the ...
2
votes
1answer
3k views

Why doesn't D-Link router's DNS return local hostnames?

I own a D-Link DIR-600. You can see part of its configuration here: As you can see, I set two fixed hostnames, "wilson", and "sheldon". However, if I try to access them by name, no matter from ...
0
votes
1answer
118 views

Reset old Hostname in OS X Lion

Everytime I change the Hostname of my mac it starts to work but doesn't forget the old Hostname. For example: hostname: example.com ping example.com - it points to my computer so, I change hostname ...
1
vote
1answer
319 views

set fallback ip address for hostname in Windows and Ubuntu

I have 2 machines that switch back and forth between networks. One network has both configured in the DNS table, so that they can reach each other on that one. However, on the other network, they ...
0
votes
2answers
771 views

Why won't my script change MAC address via macchanger at startup? Ubuntu-based

I have recently pieced together a script with my limited knowledge of bash that is supposed to do 2 things: It is supposed to change my hostname and then change my mac address. I put the ...
0
votes
2answers
2k views

Error using httpd on CentOS

I am using CentOS. When I try to start httpd I receive the following error: > sudo httpd httpd: apr_sockaddr_info_get() failed for ccrhwp01948 httpd: Could not reliably determine the server's ...
-1
votes
2answers
1k views

Point Multiple IP Addresses to a Single Host Name

Is it possible to have a single host name with multiple IP addresses? The hostname will be used to access a box in LAN with 192.168.x.y and from outside with IP w.x.y.z which is portforwarded to that ...
2
votes
1answer
109 views

Reliable cross-platform way of determining hostname from IP address

Within the DHCP table of a router, clients that have sent their network name are listed with IP and MAC addresses. I need a way to get the host names that clients have sent. The router does not store ...
-2
votes
2answers
156 views

Where lies the soul of a computer? [closed]

When you take the system drive and put it in a new box, do you rename it or do you keep the name? And when you put a fresh drive in the old box, do you give it a new name? What is with upgrading? How ...
0
votes
2answers
563 views

How to have a different hostname to the fqdn?

I have a server with fqdn git.mydomain.com (this is in DNS) but I don't really want the machine to have git as its hostname. It might not be clear exactly what I want. Or maybe I don't really ...
2
votes
0answers
61 views

What is the `/etc/hostname` used/required for?

I found in the /etc/hostname my IP-address, than I deleted it and each time I use sudo - I get a message and a system email sudo: unable to resolve host (none) or if in the /etc/hostname is saved ...
3
votes
1answer
2k views

VirtualBox Issue: virtualbox changed my Computer Name's ip address in Windows

I had installed virtualbox 4.2.2 in Windows 7. My Computer Name is: MY-PC My IP address (using ipconfig /all command) is: 192.168.1.101 My IP is dynamic and I set DNS to google dns (8.8.8.8) When I ...
1
vote
1answer
786 views

Cygwin netcat nc doesn't resolve hosts through /etc/hosts

I'm trying to use ssh to log into remote servers, and I have a ProxyCommand setup in ~/.ssh/config to use a proxy (setup through PuTTY to connect to a VPN). The ProxyCommand uses nc to connect ...
1
vote
1answer
479 views

How can I access a VMware Fusion guest running Ubuntu via its .local (Bonjour/Zeroconf/mdns) address?

I'm running VMware Fusion on my Mac with an Ubuntu guest VM configured to use NAT for networking. I can access the VM from the host using its DHCP-assigned vmnet8 IP (172.16.90.128), but I'd like to ...
3
votes
1answer
149 views

What would happen if I changed my hostname to 'localhost'?

Would my machine function correctly? Would other machines on the network be able to ping mine by name?
0
votes
1answer
292 views

Mac OS X - how to hide my hostname? [closed]

Is on Mac OS X any way to hide my hostname? If I go to check to some web services my IP, so there is displayed yet the hostname. I would like to hide that. Thank you
4
votes
1answer
576 views

creating a named host for virtualbox accessible from host

For my dev machine, I have windows 7 host with ubuntu guest. I run the guest as the server. Every time I want to test from the host, I find my current guest IP address, and connect via that (for ...
2
votes
1answer
2k views

How to change cygwin hostname

I'm just searching for a way to change the default Cygwin host name. I need to change the Admin@deluxe ~ part and replace it with something else.
2
votes
1answer
303 views

Access mac server from iphone using hostname?

I'm running a websever on my macbook and I want to access it from my phone over wifi using my home network. If I type in the IP address, it connects just fine, but I need the domain name to be ...
0
votes
0answers
199 views

Environment variable changed

At first my hostname was localhost.localdomain in CentOS 6.2 I installed ubuntu in separate partition after that my hostname was changed to this ###-###-###-###-####.####.example.com In ...
2
votes
3answers
7k views

Putty can't connect over SSH to hostname, IP connection works

I have a gentoo box on my homenetwork that I'm trying to SSH into via W7 client but although I can do it via IP address when I try the hostname it won't find it. Also get a DNS error ...
1
vote
2answers
84 views

Detect host's name

Is it possible to somehow fetch the hostname where a website/service resides? I've tried looking into headers, and some more info, but from what I've seen it doesn't seem possible! As an example: ...
8
votes
3answers
16k views

RedHat Enterprise Linux 6 - Edit Hostname

I'm currently trying to edit my hostname in a RedHat Enterprise Linux 6 virtual machine but I have some problem. I tried using the function hostname like this: hostname -v bravo.cmweb.com And it ...
4
votes
1answer
1k views

Change hostname and prompt in OS X terminal

On a Mac the hostname and prompt is: workstation:~ thomas$ On Ubuntu Linux it would be: thomas@workstation:~$ How can I make the OS X prompt look like the Ubuntu one?