Questions tagged [hostname]

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

Filter by
Sorted by
Tagged with
39 votes
7 answers
75k views

OSX Terminal showing incorrect hostname

When I open Terminal I expect it to show what my PS1 is set to \h:\W \u\$. However it's not displaying my hostname Eriks-MacBook, as displayed in System Preferences. Instead, it's showing a random ...
Erik W's user avatar
  • 393
35 votes
3 answers
54k views

What is a hostname versus a computer name versus a subdomain versus www?

I was searching for understanding what is the “www” at the beginning of so many web addresses in the Internet. I read in somewhere that “www” is called “hostname”. The world “hostname” made me go a ...
siamak's user avatar
  • 471
93 votes
5 answers
86k views

How can I stop Mac OS X overriding my hostname when I receive a DHCP request on Snow Leopard?

Whenever I go on a network where the DHCP server assigns hostnames then it overrides the settings I've set for my hostname on my Mac in the "Sharing" section of System Preferences. How do I stop this ...
Mike McQuaid's user avatar
  • 4,089
7 votes
1 answer
2k views

Period character used for local computer name

I'm wondering about the period character . used as a shortcut for the local computer name. You can use it when logging into Windows 7, for example, to specify that the user account you're entering ...
rory.ap's user avatar
  • 496
38 votes
7 answers
237k views

How can I display host name on windows desktop

I do a lot of work on Windows Server 2008 remote desktops and often lose track of which host I am currently logged on to. Is there a way of displaying (without installing any non-standard apps) the ...
Martin's user avatar
  • 515
26 votes
4 answers
68k views

Correct domain name for a home desktop Linux machine

I have several machines running Debian, and during install, I left the domain name field blank. This hasn't affected anything so far, but I'm curious what the correct thing to set that field to is if ...
nebuch's user avatar
  • 325
7 votes
3 answers
38k views

How can I map a domain name to an IP address and port?

I want to give a domain name to the IP address and port for an application in Windows 7. For example, test.com should map to 127.0.0.1:59873. Is there anyway that we can do it by using a web server ...
sandeep.malladi's user avatar
6 votes
2 answers
3k views

Strange NS behavior on OS X — can't connect to SSH server

I'm trying to SSH to an Eee PC laptop running Debian on a network where hostnames are automatically registered with DNS via the DHCP server. The Eee PC laptop had run out of power and gone to sleep ...
Jeff Welling's user avatar
127 votes
3 answers
164k views

Difference between host name and domain name

What's the difference between Hostname and Domain name? especially in regards to NIC Could someone please elaborate with examples as this concept is a little confusing
rzlines's user avatar
  • 7,538
12 votes
5 answers
12k views

Address VMWare Fusion Linux guest by hostname?

I have a Ubuntu Server 9.04 image set up in VMWare Fusion 3.0.0, using the NAT option for the guest's network connection. From the Mac host, I can ssh to the linux guest just fine using it's IP ...
amrox's user avatar
  • 405
10 votes
1 answer
6k views

Why is ping resolving to an IP 198.105.254.228 for any random hostname that i type?

I have a precise32 (ubuntu 12.04) vagrant vm running on my system. If i try to ping a random string, eg ping "thisip.doesnot" it resolves to an IP 198.105.254.228 . This is try for any other random ...
woodstok's user avatar
  • 971
10 votes
2 answers
43k views

Difference between NETBIOS, host name and computer name?

In windows if you go to Computer->Properties->Advanced System Settings->Computer Name, you can change the computer name, let's say from MYCOMPUTER to LEDZEPPELIN. This changes the (1) ...
user784637's user avatar
  • 2,015
8 votes
3 answers
45k 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 ...
JohnnyFromBF's user avatar
  • 4,938
4 votes
2 answers
14k views

How to disable Microsoft hostname lookup "enhancements"?

Recently, I found if I enter a single word query "blah" into a browser (Firefox or Safari) on my home Windows machine (not connected to domain) then search is redirected to Bing, instead of my default ...
TN.'s user avatar
  • 2,060
1 vote
0 answers
611 views

Cannot Resolve Host Or Access Website Through Router

This is weird. I am on Windows XP with Edimax BR 6204Wg. I have 3 devices - 2 laptops and 1 smartphone. 1st laptop and smartphone are connected through WiFi to router and 2nd laptop is connected ...
Boris_yo's user avatar
  • 5,844
7 votes
2 answers
44k views

Get Hostname from IP address/MAC address

I have a list of IP addresses and MAC addresses connected to my local network, but I need to get the hostnames of each device, is there a command line or terminal (mac) command for this?
Jonathan.'s user avatar
  • 2,614
5 votes
1 answer
4k 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?
ThomasReggi's user avatar
4 votes
1 answer
24k views

Change windows hostname from command line

This question is related to https://stackoverflow.com/questions/54989/change-windows-hostname-from-command-line, but I'm in a different situation. The netdom tool will not work on a computer not ...
Joe's user avatar
  • 143
4 votes
2 answers
2k views

How are names resolved on modern local networks? [closed]

On modern local area networks, devices use a few different techniques to resolve names. Specifically, just to name a few, things like DNS, Avahi, zeroconf, mDNS, Bonjour, NetBIOS, WINS, or even manual ...
Cameron Tacklind's user avatar
4 votes
1 answer
2k 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 ...
pedalpete's user avatar
  • 283
3 votes
2 answers
9k views

How to create a fake hostname in windows?

I was reading a book and it said that I can setup a fake hostname in windows by changing the file hosts present in C:/Windows/System32/Drivers/etc/ but it didn't say how to do it. I mean like http://...
user avatar
3 votes
1 answer
40k views

Error in named-checkzone: DNS zone error: has no address records (A or AAAA)

I am configuring my private DNS server. I am following this tutorial. But when I reached the Check BIND Configuration Syntax step, I got some errors. Here is the command output: x@e-dns1:/etc/bind$...
None's user avatar
  • 529
2 votes
2 answers
28k views

How to change Debian Linux domainname

I have never been able to fully understand how to change Linux hostname and domainname, and now it comes back and bites me again -- my Linux domainname is blank (domainname gives (none)) and I just ...
xpt's user avatar
  • 8,611
2 votes
2 answers
77k views

How to get the ip address of a computer from its hostname? [duplicate]

I have the name of a computer on the network, and I need to know how to get the ip address of said computer from a batch file? Thanks.
Mark Deven's user avatar
  • 1,618
1 vote
1 answer
2k views

Trouble resolving hostnames with arp -a

I'm trying to lookup hostnames of computers on the same network as me. Sometimes when I use arp -a I get a question mark (?) for the hostname. I've tried using nslookup xx.xx.xx.xx and host xx.xx.xx....
winhowes's user avatar
  • 113
1 vote
0 answers
46 views

Cannot Access Website First Time Through Router And Later It Seems To Forget Routing Table [duplicate]

Possible Duplicate: Cannot Resolve Host Or Access Website Through Router Would be helpful to those who are willing to help with this one. I evaluated the problem and it is for computer networker ...
Boris_yo's user avatar
  • 5,844
0 votes
2 answers
843 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 ...
user256695's user avatar
0 votes
1 answer
190 views

Can open host by \\hostname but cannot ping by hostname

I have two laptops connected by NetGear JNR3210 router: one (running Windows 2000) is directly attached by a cable and one (running Windows 7 x64) is attached via WiFi. On both laptops when I open ...
Alexey Popkov's user avatar
-1 votes
1 answer
1k views

Which of these is a domain name? What's the difference between subdomain and hostname? I'm getting conflicting information [duplicate]

For the past two days I've been reading up on domains and the like because I'll be setting up a website on a VPS. However, I keep getting conflicting answers from stackoverflow, youtube and various ...
user8380672's user avatar