The unique name by which any device attached to a network is known by.

learn more… | top users | synonyms

0
votes
0answers
9 views

change route from one address IP to another

I'm wondering if is possible to change IP address destination to another. Let's say that I have in script PHP defined: file_get_contents(10.43.53.11/index.php); and I want to omit modify code to ...
26
votes
2answers
58k views

How to use host names rather than ip addresses on home network?

I've a small home network up and running and managed to set up ssh. Can anyone tell me what I need to do to refer to one computer on the network from another by host name rather than IP address (which ...
1
vote
1answer
22 views

Why can't I use the same host name for two dual-boot OS on the same machine?

I run Win 10 (installed first) and Ubuntu 16.04 (installed second) on the same notebook. During the Ubuntu installation, I was asked to enter a host name for the computer. I tried to enter the same ...
1
vote
3answers
4k views

Cannot access Samba share from windows 7 using hostname

I've been trying for days to get this working, and everywhere I look online it seems no one has a definitive answer, so here is the run down: I have an external drive attached to my ubuntu 12.04 ...
0
votes
0answers
11 views

uGet has a problem while downloading some file and always retry until it reached the limit

Here's the error messsage : Hostname was NOT found in DNS cache Resolving timed out after 15528 milliseconds Closing connection 1 Hostname was NOT found in DNS cache Resolving timed out after ...
0
votes
0answers
36 views

How to login as another user in phpmyadmin

I'm using Ubuntu 14.04 and I want to login with a host name other than localhost say "190.123.124.25" in phpmyadmin(which I got as a part of xampp), but I am unable to do so. Everytime it logs in as ...
8
votes
4answers
3k views

How to reach a host in the same network by hostname?

I have a network which connects a couple of hosts. I would like to be able to reach other hosts from one of them using the hostname. I just discovered the ".local" domain, which is available through ...
0
votes
0answers
14 views

Client Hostname, not FQDN, not IP Address, in Thunderbird headers

When sending email from Thunderbird from behind NAT, the headers contain the local IP address of the client, not the hostname. This is (the result of) what Outlook Express would send: Received: from ...
0
votes
1answer
61 views

Why do I get 'This computer name is already in use on this network' prompt?

I was installing 16.04 Desktop on a HP laptop yesterday, and when it came time to enter my name, username etc, most suggestions I had for the computer name generated a warning that 'This computer name ...
1
vote
2answers
135 views

sudo: unable to resolve host 127.0.0.1kaushal

Yes, Might be duplicate of following links Tried both links solutions but didn't worked for me. Error message when I run sudo: unable to resolve host (none) sudo: unable to resolve host ubuntu-...
0
votes
2answers
28 views

sudo -s takes a long time to execute and prompts sudo: was not possible to resolve machine XXX

I do not know what is wrong but now, whenever i use a sudo command it takes a long time to execute and prompts: sudo: was not possible to resolve machine XXX then it executes. It seems that is ...
0
votes
1answer
39 views

Is the name of a private Linux computer discoverable in its LAN?

1) Is the name of a private Linux computer discoverable in its LAN by default? I'm talking about the name that is first entered when installing a GNU/Linux desktop OS, the one that in Ubuntu is ...
272
votes
7answers
461k views

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
0
votes
1answer
32 views

How do I set the servername?

when i go to my digital ocean and type in the console to restart apache2, it tells me there is an error and i need to set the "servername directive globally" I have seen a thread on this but I have ...
0
votes
1answer
212 views

getty/mingetty automatic login 16.04

I have an nfsroot created from 14.04 that I am rebuilding using 16.04. My nfsroot is shared by three systems named pc1,pc2 and pc3. There are 3 matching user accounts named pc1, pc2, and pc3 as well....
0
votes
1answer
39 views

FQDN does not resolve from Windows, hostname does (NMBD)

I am trying to configure an Ubuntu Server (14.04) in a Windows AD environment. It will be serving some intranet pages. The goal is to reach this machine by either its hostname (e.g. ubuntu-server) or ...
0
votes
0answers
87 views

Can't resolve hostname by ip address over nslookup

Hope, someone can help me. I've already searched the web for hours, but I can't solve this problem: I've got an Ubuntu Server on my LAN. I can fully use it (samba, ssh, apache2, xmpp...) by using it'...
0
votes
1answer
503 views

How to know the login and password details, my name and computers name after i'm done installing ubuntu?

During the setup I'm asked to type in my name and the computers name. After the OS is installed, how can I know those?
0
votes
1answer
51 views

Echo output of hostname to /etc/hosts

I am trying to create a dev host file like below - $hostname $ramratan-pc $sudo echo "127.0.0.1 ramratan-pc" >> /etc/hosts How I can put output of hostname in echo string? PS I do not want ...
0
votes
0answers
34 views

Quick Question. How do I change the name of my Linux? [duplicate]

I'm not sure if it's the computer name or not but it's the one right before the host name (ubuntu) on the terminal... axon-pc_ubuntu@Ubuntu ~ $ Edit: This question differs from one that was ...
1
vote
0answers
24 views

Username & Host Name are Screwed on Terminal

I have been working on my machine to setup a web server. At a certain point, I noticed my username & host name displayed at the very beginning of each line of terminal commands are different from ...
0
votes
4answers
3k views

Can i configure ubuntu to append a domain to the end of an ssh hostname request?

I have many servers and they all end with the same servers.company.net, so for example vded-xx-001.servers.company.net, and was wondering if it is possible to make it so i can just type the vded-xx-...
0
votes
1answer
56 views

/etc/hosts configuration error , ping not working

I am newbie to ubuntu plus kerberos , trying to configure kerberos in my vm ubuntu by i am not able to pass the step 2 in configuring hosts .below are the files. i am in the process of learning so ...
0
votes
0answers
123 views

`sudo hostname` checks hostname resolution - can I turn that off?

I am trying to get Vagrant working with Ubuntu 16.04 (xenial). Apparently there are recent changes to hostname when called with sudo and the output to stderr is interfering with the way Vagrant ...
0
votes
1answer
230 views

Unable to ping hostname only IP address

I'm trying to connect to my linux server via the hostname for Samba. I'm have been able to access it with no problem then all of a sudden it stopped working. Here is what is happening. This is what I ...
-1
votes
1answer
49 views

Is there another place to host/machine name?

I have a cloned VirtualBox machine that I've asked to clear MAC address after cloning. The machine name was changed from "node01" to "new-host-7.home" and I changed to "node02" by using conventional ...
0
votes
2answers
56 views

How to force dhcp client to allow a self defined domain name

I'm configuring a 14.04 lts server without network manager installed. I set in /etc/dhcp/dhclient.conf: send host-name "os-vps276.projet-okinawa.org"; supersede domain-name "projet-okinawa.org"; I ...
-1
votes
1answer
75 views

Redirect host name to other

I added a row in /etc/hosts: xxx.xxx.xxx.xxx new.office I now need all the calls that I do on old.office redirected to new.office. Is there a way to do it? I am using Ubuntu 14.04 server.
0
votes
1answer
134 views

sudo: unable to resolve host error but still works

I recently changed my Ubuntu 15.10 laptop's name to Nick-Laptop: Ubuntu and now whenever I use sudo I get the error sudo: unable to resolve host Nick-Laptop: Ubuntu However the command still runs, ...
1
vote
1answer
667 views

Can /etc/hosts be set up automatically?

I need to automatically add mac-addresses to some file and manually add the hostnames assigned to them. A script will then scan my home LAN for those mac-addresses and populate the /etc/hosts file, ...
1
vote
1answer
191 views

Slow hostname lookup: curl slow, sudo slow, browser slow

my problem is similar to other slow host name lookup issues, but I failed to find a working solution. The main effects are a slow sudo command a very slow DNS resolution in all browsers. I guess that ...
0
votes
0answers
35 views

I want to edit gcc compiler code to print hostname with a message at compile time. how can I do that?

I've downloaded the gcc source code, I don't know what all files to edit in order to print the hostname along with a message at the compile time.
2
votes
2answers
146 views

How to send the DHCP server a different hostname?(connecting to wifi with a fake computer name)

I want to connect to a WiFi network without disclosing my original Hostname(Computer Name) to the network. i.e, I want to connect to WiFi networks with a different (fake) Hostname of my choice ...
-1
votes
1answer
58 views

Setting the name of a machine

I've built a machine with spare parts with the intention of using it like a home server, but it does something I didn't expect, it adds ".local" to the hostname, so I can't access to it with the name ...
1
vote
0answers
216 views

What should be /etc/hosts entry so that it works fine for both localhost & IP address?

Sample etc/hosts: 127.0.0.1 localhost 127.0.0.1 DEVubuntu 192.xxx.xxx.xxx DEVubuntu This is not working for me. I am not able to run Zookeeper and I am sure it's related to the ...
1
vote
0answers
20 views

Ubuntu 14.04 sudo: unable to resolve host Cricketpunk [duplicate]

i am new to ubuntu and recently tried changing my hostname and have probably messed up something,and have trouble fixing it. Whenever i give command like get sdu sudo apt-get install g++ (...
0
votes
1answer
773 views

PXE based installation always sets hostname as 'kickseed'

I am using PXE based provisioning of Ubuntu 12.04.5. I have PXE, TFTP, DHCP server in place. All my configurations specified in kickstart file are set correctly except the hostname. The machine always ...
0
votes
0answers
49 views

How can I access Ubuntu-hosted website on Windows intranet by hostname over HTTPS?

I have made an Ubuntu server accessible on a Windows network. I can access the server via a browser at http://192.168.X.X and I can access a shared folder via Windows Explorer at //192.168.X.X/...
0
votes
0answers
46 views

MAAS images register with “ubuntu” hostname in the DNS

I have set up a MAAS server (last stable 1.8.3) with an external DNS and DHCP and everything seems to work fine except for a minor issue deploying the Ubuntu 14.04 LTS image. During the deployment ...
192
votes
13answers
382k views

How do I change the computer name?

When I connect to my server (ubuntu server 10.10), I get this: name@server-name.belkin ~> How can I remove ".belkin"?
0
votes
1answer
504 views

Correct MX record, subdomain and Dynamic DNS settings for Namecheap Self hosted email @domain.com email & correct Hosts and Hostname for server

I want to correctly Set up my own email server at home for my domain.com. It is hosted by namecheap. I need to set up the following On Namecheap (Domain provider): MX Record Subdomain On Server: ...
1
vote
1answer
33 views

do a reverse name lookup to compare the IP to localhost

i want make server ip mapping to localhost? should i vim /etc/hosts 127.0.0.1 localhost ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.51.101.35 iZ25kpavw8zZ ...
0
votes
0answers
30 views

How could I change the remote desktop display name?

I have set the Ubuntu desktop sharing system and works fine, but I'm unable to change the name of the remote desktop. By default, it's "cialu's remote desktop on host-name" and it's too long for me. ...
0
votes
2answers
131 views

Changing hostname without restart via cloud-init isn't working correctly

I followed this thread while writing my cloud-init script. I've tested and I have this in one part of my boothook script: echo "HOSTNAME=$HOSTNAME" >> /etc/environment echo "127.0.1.1 $...
0
votes
1answer
80 views

DNS goes missing with Static IP via NetworkManager

I know there's plenty of posts/threads/questions/tutorials regarding ubuntu's DNS, network manager innards, and changes in the like between versions ~12 to 14-15+. I'm on ubuntu 12.04, and looking to ...
2
votes
0answers
46 views

how to get back my previous hostname?

i wanted to change the name of my pc so i executed the command sudo nano /etc/hostname and sudo nano /etc/hosts to change the content of both of the files, but after rebooting, the pc displays ...
0
votes
1answer
114 views

14.04 Desktop - how to assign domain to hostname?

Situation : we were - and still are partially - on a domain name (dark.void) we wish to get rid of! Here is the current content of the different networking configuration files in an attempt to switch ...
0
votes
1answer
231 views

How to change Ubuntu server domain name?

I'm using Ubuntu server in my local network. I access the hosted sites on it from other computers using the local ip address. for example: 192.168.100.2/info.php/. I want to set a domain name to use ...
0
votes
1answer
349 views

sudo unable to resolve host error message [duplicate]

I changed my hostname in: /etc/hostname And then also changed it with: sudo hostname MATRIX But I experienced a problem because (and I don't know if this is related or not) none of my ...
1
vote
1answer
57 views

Giving Ubuntu Desktop a domain name to ssh into [duplicate]

I know absolutely nothing about remote access to a desktop. I've just set up a machine with Ubuntu installed which I wish to run calculations on remotely. I've installed openssh-server and opened ...