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 ...
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 ...
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 ...
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
132 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 ...
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
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
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
1answer
211 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
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
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
133 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
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.
-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++ (...
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 ...
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 ...
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
230 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 ...
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 ...
4
votes
1answer
895 views

How to safely change username and hostname?

I installed a fresh Ubuntu Gnome 14.04.3 today, but I just notice that I reversed the username and hostname during installation. To illustrate this, when I open a terminal, the prompt looks like : ...
0
votes
0answers
190 views

Should Mailserver /etc/Hosts be static ip or loopback?

Im trying to set up a mail server, and currently I am having issues with hostname and hosts files. I want to get this correct before installing postfix and trouble-shooting issues that may be non-...
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: ...
4
votes
3answers
214 views

Change Machine Name [duplicate]

How to change machine name in Ubuntu; as in my case it is written as Lenov@G500, and I want to change both names i. Lenovo and G500. how it can be done through Terminal.
0
votes
1answer
82 views

Hostname of machine changed unexpectedly to mongodb after reboot

I have mongodb 3.0.4 installed on my Ubuntu 14.04 machine, and after I did a reboot I noticed that the hostname changed to mongodb. Indeed I see myuser@mongodb instead of myuser@myhostname as it was ...
1
vote
1answer
92 views

SSH connects with old hostname

I changed my hostname on my Ubuntu (12.04) computer but my CentOS computer still connects to it using the old hostname. How can I make it so that I can type: ssh new_hostname instead of : ssh ...
1
vote
1answer
179 views

Unable to launch anything after changing hostname

Since I upgraded to Ubuntu 15.04, I have noticed that whenever I change my hostname by changing it in and with: /etc/hostname /etc/hosts sudo hostname <new-hostname> Immediately after this, ...
0
votes
1answer
348 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
0answers
678 views

change host name initramfs ALERT! /dev/mapper/guacamole--vg-root does not exist

I have two servers - guacamole and chorizo to be set up with Openstack cloud. I installed ubuntu server on one, then used the linux "dd" to image the disk to build the other, and renamed the server ...
3
votes
1answer
7k views

unable to edit /etc/hosts file in ubuntu 14.10

I changed the hostname from default name, set during installation to something short and nice, but didn't change it in /etc/hosts file. /etc/hostname is changed after restart but sudo is not working. ...
2
votes
1answer
171 views

Problem with same hostname and domain

I have a bit of problem, when I was setting up production server hostname was same as name of one domain that wasn't planed to be used, now i have to use this domain name and files are stored in /var/...