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

learn more… | top users | synonyms

1
vote
1answer
56 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
24 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
47 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
28 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
19 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
106 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
25 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
26 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
28 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
26 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
57 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
44 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
35 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
75 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
94 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
32 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
399 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
107 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
347 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
173 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
58 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
60 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
104 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
200 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
519 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
3k 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
126 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 ...
0
votes
0answers
488 views

Blocking Specific User to specific website using Squid Web Proxy Webmin

I'm using Squid Web Proxy via Webmin and currently it works. I have set the proxy authentication too. source : ...
0
votes
0answers
63 views

hostname and hostname -f returned different value

My ubuntu hostname command returned correct server name but the hostname -f returned localhost. How do I make hostname -f return the correct server name?
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
0answers
112 views

Accessing my Server over the Public Internet

I have installed apache couchDB on my server and ran the following command : HOST="http://commcarehq:commcarehq@127.0.0.1:5984" curl -X PUT $HOST/commcarehq which was succesfull but when I run ...
0
votes
2answers
2k 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
0answers
24 views

Is there any way to change `fqdn` permanently without rebooting? [duplicate]

At present I got the following configuration $cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 ubuntu.domain.lcl ubuntu $cat /etc/hostname ubuntu $hostname -f ubuntu.domain.lcl Now in order to ...
0
votes
1answer
92 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
3k 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
164 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
44 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
209 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 ...
4
votes
1answer
6k 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
276 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
55 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
428 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
152 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 ...
0
votes
2answers
331 views

After change of host and hostname, terminal won't show it

I have changed my host and hostname by editing the files /etc/hosts and /etc/hostname. But this won't affect what appears as my terminal prompt. It still shows my old_host@new_hostname. How to get ...
0
votes
1answer
574 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 ...
1
vote
0answers
32 views

Is it possible to find the host name (Computer name) in my LAN network if I know its IP address? [duplicate]

I want to know whether this can be achieved using terminal. I have tried nmap, nslookup and netstat, and failed.
-1
votes
2answers
283 views

hostname shows as vps Ubuntu

Hi i am using a ubuntu server , some other person has made it . i checked my host name by typing hostname it says vps . I checked in my etc/hostname file it says the name is vps in /ect/hosts ...
1
vote
1answer
858 views

Can't ping Arch Linux machine from Ubuntu Server

I have a server and a desktop. Server: OS: Ubuntu Server 14.04.1 IP address: DHCP from Asus router, allocated by MAC address to 192.168.1.4 Connection: wired Ethernet, always on Desktop: OS: ...
1
vote
2answers
2k views

unable to change host name on Ubuntu virtual machine

Here are the steps I followed: Changed /etc/hosts: cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 linux-vm Change etc/hostname cat /etc/hostname linux-vm Reboot Still the TTy shows ...