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.

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

337 questions
137
votes
3 answers

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
  • 7,678
94
votes
5 answers

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 behaviour from occurring and always have the same…
Mike McQuaid
  • 4,187
43
votes
7 answers

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 host name or IP address of the host I am connected…
Martin
  • 565
41
votes
7 answers

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 string unknownb88d120cd4b2. How can this be fixed…
Erik W
  • 513
38
votes
4 answers

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 step further in searching, I read so many threads…
siamak
  • 501
  • 1
  • 5
  • 8
31
votes
1 answer

Could "user@192.0.2.1" be a valid email address?

I study regex and faced a question: could an email address like username@192.0.2.1 be valid? Sure there is the valid username, but what about domain? Should it be domain name only or is host ip address allowed too? Of course I mean any host address,…
30
votes
4 answers

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 you don't have a registered web domain and your…
nebuch
  • 365
  • 1
  • 3
  • 11
28
votes
7 answers

How To Resolve IP Addresses To Domain Names?

I know it is possible to resolve IP addresses to host names but can IPs be resolved to domain names?
Boris_yo
  • 5,994
25
votes
4 answers

Can I map a IP address and a port with /etc/hosts?

Can I map an IP address and port to a domain name? For example, I’d like to map 127.0.0.1:8000 to testdev.com My /etc/hosts file has 127.0.0.1 localhost 127.0.0.1:8000 testdev.com So that when I hit testdev.com, it refers 127.0.0.1:8000. I tried…
Tamil
  • 353
18
votes
3 answers

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 works, I call the function and the hostname as been…
17
votes
2 answers

What is a hostname?

I'm setting up a Fedora 15 box in my local network. It's going to have Internet access and share media stuff like photos. In one step of the installation process it asks for "hostname", what could this be? Can it simply be "server" or do I need a…
Jason94
  • 1,195
16
votes
5 answers

Hostname issue in Mac OS X Lion

I've recently bought myself one of the new mid-2011 Mac Minis with OS X Lion, I'm completely new to Mac OS but I've used linux quite a bit before. The problem I'm having is that at the terminal my hostname is displayed as (blanked some of the…
Mikey
  • 501
14
votes
3 answers

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 System Preferences to set my host name to what I want…
12
votes
5 answers

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 address, but I would like to be able to refer to it by…
amrox
  • 405
12
votes
2 answers

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) computer name to LEDZEPPELIN. It also changes the (2) hostname…
user784637
  • 2,145
  • 9
  • 27
  • 29
1
2 3
22 23