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
1answer
1k views

Mac Terminal Permission Denied in my home folder after I changed hostname

Before this, I find my shell prefix is user@promote ~ $ here promote is my host name, and I changed it by sudo scutil --set Hostname desktop Now my shell prefix is user@desktop ~ $ however, ...
1
vote
0answers
162 views

How to connect to Windows remote domain from Linux know its gateway hostname?

I have credentials to connect to my University's reserved Linux virtual machine which means : username password gateway's hostname let's say secretgateway.net full hostname in .local domain let's ...
0
votes
0answers
12 views

Browser and alternate host file [duplicate]

I'm testing some software using a browser. I want to start a Chromium of FireFox session, and instruct the browser to an alternate host file. The host file will redirect a couple of domains to the ...
0
votes
0answers
40 views

Ping IP/Hostname works laptop A to B, Can Ping Hostname but IP timed out laptop B to A

I have 2 laptops on home wireless network (Linksys Router). From Laptop A, I can ping Laptop B by hostname as well as by IP just fine. From Laptop B, I can ping Laptop A by hostname but when I ping ...
0
votes
1answer
44 views

Configuring etc/hostname

I just received my Raspberry Pi, and wanted to set up a small webserver. I am not sure what to put as my hostname. I have bought a domain, for the sake of the question, let's assume it's ...
0
votes
1answer
56 views

Finding origin of a host address

I have a Windows server which is resolving a name. I do not know from where the address comes from: it should not be on DNS, and it is not on C:\Windows\system32\drivers\etc\hosts. When I try looking ...
0
votes
2answers
87 views

How to change host name? [duplicate]

I've got ADSL internet connection. I want to change me hostname. I found it is called revDNS, but I really don't know how to do that. For example on IRC I am identified as ty221@a757.tpnet.pl , I ...
0
votes
1answer
201 views

Change Ubuntu hostname on the fly

First of all, this question is not a duplicate of Change computer name of an Ubuntu desktop computer or Change Ubuntu Name. I know to change hostname, I need to edit the file hostname and hosts ...
1
vote
0answers
59 views

hostname lookups stop working on Debian install

I just installed Debian, and I'm experiencing the peculiar problem that hostname lookups inevitably stop working after I've been logged in. I can continue to ping IP addresses after this happens, and ...
0
votes
1answer
1k views

SVN checkout reporting unknown host

I have just done a fresh install of redmine and svn, I am getting this error when trying to check out: svn: Unknown hostname redmine.mydomain.com It definitely exists, I can ping it, view it etc. ...
0
votes
1answer
211 views

How to set up host name for a new domain to point to home server?

I am trying to set up a Host Name for a domain so that it points to my home server but I am confused about instructions at go daddy.com. If my domain is mydomain.me and my external ip address is ...
1
vote
1answer
730 views

Windows 7 sometimes fails to resolve hostnames correctly

I have a Problem with my PC sometimes resolving the wrong IPs for some hostnames. Network setup I'm currently forced to use a o2 Box 6431 with Firmware 1.01.23b installed. Connected to this network ...
5
votes
1answer
1k views

Is it possible to connect to a device using its hostname?

I am creating a small device running Linux with a web server on it. I want it to be plug and play, connect to a network and access to it using an abstract name. Is it possible to access to a device ...
1
vote
1answer
1k views

Detecting computer name

How can I detect if I am on a certain host computer in a batch script? Ex if I run the command hostname it gives me the current computers hostname. Is there a way that I can save that to a variable or ...
1
vote
0answers
80 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
580 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
8k 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
396 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
67 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
990 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
4k 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
54 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
532 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
276 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
92 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
181 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
74 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
12k 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
400 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 ...
2
votes
2answers
4k 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
254 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
795 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
71 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 ...
3
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
121 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
420 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
839 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
115 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
169 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 ...
1
vote
2answers
627 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 ...