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

learn more… | top users | synonyms

0
votes
1answer
16 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
32 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
18 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
22 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
80 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
53 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
45 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
31 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
42 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
56 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
110 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
30 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
57 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
109 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
128 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
34 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 ...
0
votes
0answers
35 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
32 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
27 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
94 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
65 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
36 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
97 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
149 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
40 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
636 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
150 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 ...
0
votes
1answer
448 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
196 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
68 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
79 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
139 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
289 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
629 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
5k 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
146 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 ...
1
vote
0answers
23 views

Ubuntu PXE installation is not asking for the hostname or domain [duplicate]

I'm using a PXE server for installing systems in my network. I want it to ask for the hostname and domain on every install instead of asigning 'kickseed' everytime. I cannot figure out what is causing ...
0
votes
2answers
4k views

How to change my device name? [duplicate]

I want to change my device name but I have not found any option in the settings to do it. I am using Ubuntu for first time. Is there any way to change the device name that appears when I lock the ...
0
votes
1answer
110 views

How do I change host name [duplicate]

Getting 'unable to resolve host' error and need to change name. How do I do this? Hostname is brian-HP-G60-Notebook-PC $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 linux # The following lines ...
1
vote
1answer
5k views

Got SERVFAIL reply from 8.8.8.8, trying next server [ubuntu 14.04 digitalocean ispconfig]

All started with a vps from digitalocean and the following documentation from ispconfig https://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3 after ...
0
votes
2answers
197 views

What are hostname and domain name doing in linux system?

I just yet starting to learn about web serving. So, far I know domain name is used for web page addresses (URL), like if we have an URL like this: ...
0
votes
1answer
49 views

Changing the Name of PC

Will I have any conflicts in my computer file manager system if change the name of my PC to another name?
2
votes
1answer
247 views

What is the default domain on Ubuntu VPS?

I have a VPS running and I have installed webmin to host a few domains. What is the default domain name for the server? My service provider doesn't give me any default domain, just a static IP ...
5
votes
1answer
9k views

Ubuntu 12.04 - Can't Resolve Hostname

I have a small dedi server on which I have installed Ubuntu 12.04. I access it via x2go since I have a desktop installed. All worked fine until 2 days ago when, after a reboot, I lost any Internet ...
3
votes
0answers
327 views

Launching programs after hostname change returns error _IceTransSocketUNIXConnect: could not connect to local-host

After changing the hostname on 14.04 I cannot launch unetbootin, attempting to launch the application from bash returns: _IceTransSocketUNIXConnect: Cannot connect to non-local host OLDHOSTNAME ...
0
votes
1answer
60 views

PostFix hostname

I'm new to postfix and was wondering what hostname I should specify in my main.cf file. Is it the VPS hostname? or I can use one of the domains I host in the VPS as hostname? I'm trying to set up ...
0
votes
1answer
447 views

Ubuntu Server 14.10 same Hostname in- and outside

So, my router doesn't support loopback, so I have to always have two bookmarks to access my server, one for local and one for external. While this is not really a problem, its more of a problem for ...
1
vote
1answer
1k views

How configure apache (vhost) for Server-Hostname

First of all, sorry for my imperfect English. But let me explain my problem with apache vhosts. Example: My servername is example.de (/etc/hostname). If I configure for this specific domain my vhost ...
0
votes
1answer
173 views

cannot ping FQDN from outside LAN (Glassfish)

Current situation I have a LAN network with pc1 and pc2 Glassfish is installed on pc1 pc2 can browse to the ip address of pc1 I've set up a Fully Qualified Doman Name (FQDN) through noip.com The ...