Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hostname]

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

0
votes
1answer
27 views

how to change xyz@abc where i need to change xyz when terminal starts [duplicate]

Every time I open my terminal, I see xyz@abc where I type my sudo commands.However, my concern is this xyz and I want to change it to the name of my choice. I am unaware of the technical term for this ...
5
votes
1answer
44 views

Numeric Prefix in Hostname

In the Ubuntu Server Installer, we are precluded from placing a number as the first character in a hostname. However, once installed, we can issue a hostname command to rename the server to have a ...
1
vote
1answer
29 views

How can I set hostname as chinese?

The hostname of machine is english , but our workmates need chinese,some of them couldn't recongnize english. So, how can i do it ??
0
votes
1answer
36 views

hostname and /etc/hosts

I intend to purchase a domain, say for instance muppets.org, for my web server and I would like to install Postfix on the same machine for sending transactional emails. Am I expected to set as ...
0
votes
1answer
39 views

User Account credentials, and how to change Ubuntu-Budgie

I am running into a situation where I need to change the terminal 'user' in Ubuntu-Budgie, but I am not seeing how this can be accomplished yet, mainly because I am not sure of the 'name' I need to ...
1
vote
0answers
93 views

Changing hostname (with hostnamectl) in chroot environment does not work (Iso customization) Ask

I can not change the hostname in the chroot environment (Ubuntu) I tried hostnamectl set-hostname but it says: Failed to create bus connection: Couldnt find file or folder Then I tried changing it ...
1
vote
0answers
182 views

Live installer not using hostname provided by DHCP server in automated install

I'm running a local network with an Ubuntu server and 20 other machines on it. As I want to install a customized Ubuntu 18.04.1 version on all of them, I already created a modified live image and a ...
0
votes
0answers
14 views

Cpanel private nameserver not working

I set up private nameserver for my domain nube22.com but this not working. I configure in my server vps (with cpanel) namservers ns1.nube22.com and ns2.nube22.com that point to 1xx.1xx.1xx.1xx . I ...
2
votes
0answers
222 views

After update on 18.4 I get “ssh: couldn't resolve hostname error” [closed]

Last week I got an update for Linux 18.04 and after that, I couldn't SSH into anything and I got: ssh: Could not resolve host-name: Name or service not known I used aliases to SSH into stuff I ...
1
vote
1answer
25 views

Hostname different from ip address

I have two VMs in a private cloud. Lets call them A(1.2.3.90) and B (1.2.3.91) (not actual ips). I used one of them(A) as a template and cloned the second one(B) only changing the ips (static ips). ...
0
votes
0answers
426 views

Unable to download updates from extension.gnome.org : Cannot resolve hostname? [duplicate]

I've just downloaded the newest version of ubuntu, 18.04, and it came with this problem when I opened Ubuntu Software. I'm new to Ubuntu and I need some help.
0
votes
0answers
222 views

hostname -f --> hostname: No address associated with hostname

Ubuntu 16.04 rootserver. Somehow my server does not have a hostname anymore. I tried to rename it from cloud.example.com to mx.example.com I changed just the values from cloud.example.com to mx....
0
votes
0answers
24 views

How to change somename@myname to myname@somename in ubuntu [duplicate]

How to change somename@myname to myname@somename in ubuntu.I have been trying so hard.I could only change the host name.
1
vote
2answers
3k views

18.04 does not resolve hosts on local network

I recently upgraded from 16.04 to 18.04 and now I am not able to resolve hosts on my local network. With 16.04 everything worked fine. I am still able to use IP to reach other computers but using ...
1
vote
1answer
242 views

How to lock hostname changes in Ubuntu 18.04

I take care of a computer lab and I need to lock changes in the hostname because of the students. Ps: They do not have root access
0
votes
0answers
22 views

How to change ubuntu hostname [duplicate]

I am confusing how to change the hostname of Ubuntu without restarting the computer I have searched many ways too but didn't get the answer all are saying about changing it temporarily
0
votes
0answers
36 views

Can't change Ubuntu LAMP hostname in AWS EC2 [duplicate]

I a using Ubuntu LAMP in AWS EC2. I added my hostname in /etc/hostname and /etc/hosts and restarted Apache 2 but whenever I check the hostname it shows the old one and not the new one.
3
votes
2answers
618 views

How to remove .local suffix from Ubuntu hostname?

When I try to connect to my Ubuntu device with the ssh terminal command, I have to add .local suffix to Ubuntu hostname. For example, if I want to ssh to my device with its hostname, my ssh command ...
0
votes
1answer
1k views

Cannot ping by host name [duplicate]

I have a strange situation. Pinging by ip works fine, but by host name fails. My observations: nslookup -type=ns google.com ;; connection timed out; no servers could be reached In one window I ...
1
vote
0answers
40 views

How to change hostname on a ubuntu server 18.04 [duplicate]

I have a problem with a new server with Ubuntu 18.04. I try to change the host name more times, with different method, like editing /etc/hostname or hostnamectl --set-hostname ecc ecc. But when I ...
0
votes
0answers
137 views

Permission denied when using sysctl to change hostname

I'm using a container from codeanywhere which is Ubuntu 14.04. For homework, I have to change the hostname permanently using sysctl. Apparently to change it I have to use the command sysctl kernel....
1
vote
0answers
39 views

ubuntu-server unreachable using https://ubuntu:10000 [duplicate]

I could reach my ubuntu-server via https://ubuntu:10000/ in a previous install of ubuntu server 16.04 LTS. Before I got that install fully configured, I reinstalled (changed to a different physical ...
1
vote
1answer
275 views

Hostname in postfix changing automatically during installation

I was installing tlp for ubuntu. During installation a dialog box for changing postfix configuration had popped up, and I went with the default options, setting the hostname as Jayant. Now, when I ...
1
vote
1answer
26 views

Can I make .local implicit

On my LAN I have a host named pleurotus. I can ping pleurotus.local but not pleurotus-- the host isn't found. Is there a way to make .local implicit, perhaps by putting some magical entry in the ...
0
votes
2answers
998 views

How to access ubuntu server using just hostname and not hostaname.local

I have a ubuntu-Server 16.04 LTS running and fully updated. I can access it through IP Address and hostname.local, but if I try to access it with just hostname it can't reach the address. hostname ...
1
vote
1answer
3k views

Reverse DNS does not match SMTP Banner

I installed Postfix on my Ubuntu 16.04 server ( DigitalOcean ) , for my site: example.com I added an A record mail.example.com and an MX record for example.com handled by mail.example.com it' ...
0
votes
1answer
2k views

Is it possible to use multiple IP addresses for the same host name in a linux hosts file?

The scenario is I have a machine that can be accessed both locally (when I am in the same network as the machine) and publicly (when I am on any external network). I want my hosts file to look ...
0
votes
0answers
38 views

different hosnames for vm clones

Running virtualbox in ubuntu with lots of lubuntu clones but every clones has same hostname which puts me into trouble.Is there any way to assign different hostnames like ubuntu-1,ubuntu-2 .. rather ...
1
vote
0answers
260 views

Ubuntu 14.04: Hostname showing as ubuntu on router

This is driving me crazy. I have a static IP configured, Ethernet cabled Ubuntu Server 14.04 machine Where you see MY_HOSTNAME, this is where I have configured my real hostname which is 5 characters ...
0
votes
1answer
5k views

How to get Ubuntu Host to Register Hostname With DNS Server

I'm in an Active Directory domain. I have a windows computer (not joined to the domain). When I connect it to the network, I can ping it by hostname from any other computer on the network. How can I ...
0
votes
0answers
30 views

unable to resolve host due to lost administrative password

I lost my admin password and changing it via root during start up does not make changes i'm guessing due to "unable to resolve host issue" and i can not change the host issue without the password. How ...
0
votes
0answers
60 views

Why won't Ubuntu 17.10 see DNS changes after they've been made? [duplicate]

[I'm rewording the title to further clarify why this isn't a duplicate of the DNS caching question. This has nothing to do with dnsmasq, which is not caching at all. Even when I set the correct DNS ...
0
votes
0answers
143 views

After changing hostname File Manager doesn't list “Computer”

I successfully and permanently changed my hostname from bryan-OptiPlex-755 to just "bryan office". The hosts and hostname files are correct. Before the change the file manager (Files/Nautilus 3.14.3) ...
1
vote
1answer
484 views

How do I change hostname? [duplicate]

The hostname of my name is very long, which is odd. How can change the hostname for my system? My hostname, currently, is himanshu@himanshu-Lenovo-ideapad-100-15IBD:~$ Is there any way I can ...
3
votes
2answers
1k views

Google Cloud Compute keeps changing my /etc/hosts file after restart

I have been playing around with 3 google cloud compute instances using webmin/virtualmin (web hosting and email), Vestacp (hosting only), and ISPconfig (hosting only) control panels. The ISPConfig ...
1
vote
1answer
4k views

How should I add a host name to /etc/hosts?

There are several answers on how to change hostname of Ubuntu, and all of them propose to do "the same changes" to /etc/hosts. "The same" stands for "the same as in /etc/hostanme". But unfotunately, ...
1
vote
1answer
2k views

Why my /etc/hosts file is empty in Ubuntu?

In Ubuntu my /etc/hosts file is empty. It happened suddenly, i did not modify it and don't think any other program also modified it. How can this happen ? Now moreover I am not able to edit the /etc/...
0
votes
1answer
120 views

Showing different hostname on network

My hostname was smit-Aspire-5742 but now whenever I type sudo fing it gives the following output smit@smit-Aspire-5742:~$ sudo fing [sudo] password for smit: 16:00:07 > Discovery profile: ...
2
votes
1answer
633 views

Hostname conflict between system hostname and apache2 vHost

I own a server under Ubuntu 16 on my LAN where I run a Apache2 with many vHost websites. One thing bothers me : The hostname of the server is the one from a vHost instead of the one written in the /...
0
votes
0answers
710 views

How to register client in local DNS

I have a number of Ubuntu 14.04 clients, and Ubuntu 14.04 server running local DNS. Currently the DHCP server is a router - going to change this. How can I register the clients, either static or ...
0
votes
0answers
43 views

Hostname for IP address of LAN devices? [duplicate]

What commands look up the hostname of a LAN device at a given IP address? For example: dig -x ip.address nslookup ip.address are not giving LAN device names, only registered domain names on the WAN.
0
votes
0answers
60 views

Why can't I access a network device using its hostname?

I've got an embedded Linux device whose hostname is xplained-d4. Both it (10.0.0.139), a Windows laptop (10.0.0.115) and an Ubuntu laptop (10.0.0.117) are connected to the same network switch via ...
1
vote
0answers
4k views

Ubuntu 16.04 LTS: Unable to resolve/ping hostname

I'm having 2 Odroid U3 Boards running Ubuntu 16.04 LTS. I installed samba so that I can ping both boards in Windows by their hostname. This works as expected. But I'm unable to ping Windows from one ...
0
votes
1answer
733 views

Winbind Broken on Reboot In Ubuntu 17.04

I have installed winbind and libnss-winbind as usual for NetBIOS name resolution on Ubuntu Gnome 17.04. This works fine and I can get a response pinging by a random host name on the local network. ...
0
votes
0answers
1k views

I get “hostname: Name or service not know” with .space TLD

I am attempting to install Virtualmin, which requires a FQDN, however before I can even begin the installation it requires setting the hostname to said FQDN. I currently set it to sub.domain.space but ...
0
votes
1answer
116 views

How can I de-duplicate an Avahi address?

My laptop has the Avahi address laptop-2.local instead of laptop.local (which was the address the last time I used it). There is no other machine on the network with the hostname laptop, nor has there ...
0
votes
0answers
417 views

How to redirect HTTP call on a port to another port on local env?

Problematic I would like to call http://myapp.dev in my web browser and "redirect" this call to http://myapp.dev:6547 or http://127.0.0.1:6547, like a proxy would do. This way, I could have an ...
1
vote
2answers
2k views

I can ping my machine by IP but not by hostname

I can ping my machine by IP and access all service or applications like ssh etc; but I can't using hostname. i used ifconfig to check the current DNS servers but they don't appear: ens33 Link ...
0
votes
1answer
122 views

How to access a local http server on windows by its hostname

I need to access a local windows HTTP server by hostname because its ip isn't static. I already tried winbind, but it doesn't work as expect. I can ping the server by ping <hostname> but not by ...
0
votes
1answer
3k views

ubuntu boot fails, Failed to start Set the hostname to the value stored on the writable partition

https://bugs.launchpad.net/snappy/+bug/1662772 As per the above bug, I am unable to login to a working booted system. The important errors are systemd[1]: snappy-set-hostname.service: Start request ...