Stack Exchange Network

Stack Exchange network consists of 174 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]

Hostname is a label assigned to a device connected to a computer network used to identify the device.

0
votes
0answers
5 views

Where is this hidden computer name coming from?

Environment: I am baking Amazon Machine Images with SQL Reporting Services (SSRS) installed. The Windows Server 2016 machine is joined to the domain and its computer name is changed AFTER install. ...
-1
votes
0answers
7 views

name resolution not working in /etc/network/if-up.d script [on hold]

I have a raspberry pi behind a NAT and a remote virtual server. I want to be able to access the pi via remote shell from outside. To achieve this I created an executable file /etc/network/if-up.d/...
2
votes
1answer
37 views

Where are PuTTY host names stored

On a server we have a script running some PuTTY PSCP: pscp -v -sftp target-host:/some-path/* some-local-path target-host is neither an IP nor and hostname like some.server.com but a single word, ...
5
votes
2answers
84 views

Registering linux hostnames on windows DNS

How do I register DHCP linux client's hostnames in a windows server DNS? I have a small-business mixed network with: DCHP Windows workstations (Example hostname: win1) About 10 machines Machines ...
-1
votes
1answer
27 views

How do I setup Sendmail and the FQDN for use with server images

I have loadbalancer sitting infront of serveral webservers. The website served up has a contact form that uses sendmail. I have installed sendmail on one of these webservers: web-01 This is the ...
0
votes
0answers
14 views

How do I create a rule with firewalld that uses a host name [duplicate]

I want to create a rule using firewalld on Linux (RHEL 7) to allow ssh from a host name. I think I've got figured out how to do it using an IP address but I need to use a host name. Here is the rule I'...
1
vote
1answer
84 views

Nginx bind to external IP only (listen hostname:port)

I'd like to specify an nginx server that listens only on external IP of an hostname given in listen directive. My server has domain name foobar.example.com which resolves to public IP 1.2.3.4. When I ...
0
votes
0answers
25 views

Can't access server my hostname anymore - Samba

I used to access my samba server(Debian) via hostname(\serversamba) and ping it too, but after I changed it to CentOS, I can't. My smb.conf is the same, so I think this is not the issue. How can I ...
1
vote
2answers
77 views

How to make old (Windows) hostname resolve to new (Linux) server?

We currently have a basic Windows PC running a Flexnet network license server. We want to move the license server to a Hyper-V Virtual Machine (VM) on a more-suitable machine (one with RAID and ...
0
votes
1answer
44 views

Is changing the hostname on a remote Ubuntu 16.04 safe?

When installing a Postfix mail server I learned that the hostname is an important part of the servers FQDN. But the servers hostname is not related to the domain name I'm hosting or the SSL cert ...
0
votes
1answer
39 views

Why do we need the host name again when downloading the webpage by using telnet?

I learned you could use telnet to download a webpage(making http request), like telnet www.example.com 80 GET HTTP / HTTP/1.1 HOST: www.example.com then the output would be an html source page or ...
0
votes
2answers
18 views

Apache logs showing CONNECT request to server that isn't mine

I've just installed an ELK stack on my server and I'm noticing something strange whilst watching the APM (at least I think it is strange, anyway). My Laravel application is continuously getting a ...
2
votes
2answers
70 views

Displaying complete host name when login to linux

How can I display hostname along with user when I login to Linux machine? Now I can see only part of host name where I could not able to identify the server name. would like to display as below; For ...
0
votes
0answers
20 views

Read hostname from a secondary filesystem

I'm trying to customize a preinstalled Ubuntu image for VM instances. My idea was to add a secondary filesystem to /etc/fstab (let's call it /config) and then symlink all relevant config files to that ...
-2
votes
1answer
39 views

Why can't I set two vhost in my apache?

Apache was installed on my debian,i want to bind two domain name with different directroy. cat /etc/hosts 127.0.0.1 hwy.local www.hwy.local 127.0.0.1 test.app www.test.app Two domain name ...
-2
votes
2answers
55 views

How to get the IP address of a known hostname in Linux?

I have a device in a public network (I'm not the owner/admin of the WiFi) and I want to know if there is a way to get the devices IP address by knowing its hostname from a second device in the same ...
0
votes
0answers
34 views

Virtualhost with two dashes

I am facing a problem with defining virtual host, if I define host like this <VirtualHost *:443> ServerName some-site-name.example.com DocumentRoot /data/web </VirtualHost> It ...
0
votes
0answers
51 views

Locked out of MySQL; how to sign in from specific IP Address?

When I was managing the users and privileges for a SQL server, I accidentally locked myself out. To explain there were previously multiple combinations of users and hosts that had access to the DB (...
0
votes
0answers
18 views

Configure VPS to accept FTP connections via Filezilla client using IP address

Currently I connect to my VPS using Filezilla client where I enter as hostname www.mysite.com. However, if I replace that with my VPS's IP address, I can't connect. I assume it has something to do ...
1
vote
1answer
180 views

ping and hostname in windows

In my machine with windows OS installed, under system information, there are 3 pieces of information, namely, computer name : desktop-1, full computer name : desktop-1.d1.d2.d3 and domain: d1.d2.d3 ...
2
votes
1answer
77 views

Problems with endpoint host name containing emoji

Recently while testing my application I stumbled upon the possibility to change the computer name of a windows device (probably also possible with unix and any other OS but did not test with that) to ...
0
votes
1answer
31 views

Difference between mysql.user table and mysql -u -h

Usually I run mysql using something like this: mysql -h hostname -u user -p (and then type password here) but I wanted to know how is this related to the mysql.user table. When I log in into mysql, ...
0
votes
1answer
44 views

How to prevent hostname from resetting after package updates on Ubuntu?

How do you permanently change an Linux server's hostname on EC2 so that it doesn't get reset by package updates? When I install Ubuntu 16 package updates on an EC2 server with: sudo apt-get upgrade ...
0
votes
2answers
256 views

Mongodb primary node not Resolved in Debezium Kafka Connect — Docker Compose

i have this docker compose file, that contains bitnami/mongodb containers for creating a replica set. and I've used zookeeper, kafka & debezium-connector for monitoring my mongodb replica set. ...
1
vote
1answer
49 views

Setting a new hostname for my GCE Debian/Linux Instance

I'm trying to figure out how to set a new hostname for my GCE Instance running Denial Linux I came about many different "solutions" so I got a bit lost. I would like to know what is the best practice ...
0
votes
2answers
2k views

Google Cloud Instance hostname (Compute Engine)

I have bought several Google Cloud Compute Engine instances. I access each one through its public IP. Is it possible to have hostnames in the Google Cloud service? Something like adolf.googlecloud....
1
vote
1answer
220 views

Can ping NAS by ip and hostname in Windows 10 console, but not find by ip or hostname in Windows explorer

I have set up a new PC with Windows 10. Now I want to access two local NAS drives but can't connect to them. With my old PC and all coworkers pcs everything is fine. There is no special access ...
0
votes
2answers
357 views

Setting up 2 virtual hosts in nginx in a docker container and address them via hostname

I searched already but I am not quite sure if the questions I found cover my problem. I have a virtual machine (ubuntu 16.04.04 LTS) which has docker already installed and a nginx webserver running (...
1
vote
0answers
287 views

Which characters/values are allowed to use in DNS?

While I was looking on RFCs of DNS because of implementation to check underscore in CNAME records, I found this interesting discussion and RFC with interesting point: https://www.ietf.org/mail-...
0
votes
1answer
282 views

Where is the “search” line in my resolv.conf coming from?

This is what my resolv.conf looks like: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN ...
1
vote
0answers
758 views

Cannot change /etc/hosts in docker container with read_only root filesystem

I am trying to add a line in /etc/hosts file with a specific IP and a hostname. The IP is static and the hostname is retrievable from the /etc/hostname. However, I want my root file system to be read-...
2
votes
0answers
24 views

What sort of actions can I take to make printer mapping less painful for all involved?

I currently work on/sort of manage a very large network. We employ the use of a print server to make some things easier for end users, but I'm sure you all know that that comes with its own issues. ...
0
votes
1answer
60 views

Apache, mod_authz_host, ineffective 'Allow from' clause

I am trying to restrict access to a part of my website to only a specific machine within the local network using mod_authz_host. https://httpd.apache.org/docs/2.4/mod/mod_authz_host.html My config ...
0
votes
0answers
51 views

dhcpd hostgroup in a single file

Is it possible to set dhcpd to read MAC addresses from file, and then to set IP and hostname for those particular hosts? To be more clear - everything is supposed to be in that file: mac, ip and ...
0
votes
2answers
175 views

how can I configure Google Cloud SSH browser to not change the hostname?

When you create new instance like "my-instance-1", this mean your instance Host name will be also "my-instance-1" !. The problem is when you change the host name for example to "myhostname.mydomain....
0
votes
1answer
74 views

changed hostname - website no longer accessible

I run Centos 7 i was changing /etc/hostname "centos-512mb-blr1-01" to "srv1.domain.com" and rebooted for the changes to take place, since then all my websites are off.. i tried reversing the change.. ...
0
votes
0answers
37 views

IIS8 setting up multiple websites using Host Name binding

I took a look at this article on host name binding, paying particular attention to Example 2. It seems pretty straight forward. I go to my IIS and, clicking on Bindings, enter the appropriate info ...
1
vote
2answers
248 views

Host name is not resolved (host cannot connect)

I think this is not a usual "hostname not resolved" issue and I don't think this relates to the service I am talking about below: I have a cluster installed with Anaconda's jupyter notebook, the ...
0
votes
0answers
137 views

Changing hostname on ubuntu-server (VPS) - recommended or not?

I started paying for a VPS-server at Contabo.com recently. I've read quite a few guides about setting up a VPS-server properly, - but I can't find any 'best practice' regarding the hostname. At the ...
0
votes
1answer
1k views

How to set domainname in RHEL7.3 machine

I have to setup domainname right now when i am typing below command i am getting nonne [root@username ~]# domainname (none) But hostname command giving proper result [root@username ~]# hostname ...
0
votes
2answers
391 views

How to update the AWS EC2 hostname without reboot?

I know that to update the hostname of an AWS EC2 instance, I have to update /etc/sysconfig/network and then do a reboot. But I need to do it without the reboot, is there a way to do this? I know ...
1
vote
1answer
32 views

Regenerate Windows default hostnames

I am looking for a way to re-generate the default hostname on Windows, or to know how it is been generated to set it as hostname when it has been changed already. Those usually looks like DESKTOP-...
0
votes
0answers
178 views

localhost.localdomain causes IPs to be blacklisted in CBL

I've been a year with my current hosting. Never had a problem until about two weeks ago my server was suspended due to blacklisting. screenshot from my hosting provider Today was the second time my ...
1
vote
2answers
813 views

Is there a way to relate the mac address of a machine to it's hostname when deploying images over a network?

This is a os-agnostic question; When deploying to a large number of machines, the only thing you have to differentiate them with is a mac address; DHCP can assign an IP to each machine based on it's ...
0
votes
0answers
77 views

Windows Server 2012 R2 VDI Naming Suffix Length

With a 2012 R2 deployment, when I create a pooled VDI collection, I have to specify a prefix and a suffix. All of our other machines have names of the format; FLX-RDSH-V001 The FLX is the location ...
1
vote
1answer
70 views

Can't get hostnames to appear on LAN for CentOS 6.8 running on KVM

I'm running a CentOS 7.4/KVM with an instance of CentOS 6.8 for legacy purposes. I have DHCP for everything on the LAN, all devices, workstations and servers. Using a Verizon FIOS Actiontec router ...
2
votes
1answer
112 views

Is my server's hostname conflicting with my website?

I'm trying to figure out if the hostname I have set for my cloud-based web server is conflicting with my public-facing website in any way. I've researched the topic and found suggestions for proper ...
9
votes
1answer
517 views

How do I make protocol foo hostname-aware?

This is a canonical question about hostname-awareness and proxying. I know that some protocols are hostname-aware; that is, when I connect to the HTTP server at www.example.com it knows I want www....
0
votes
1answer
63 views

Hostname no longer accessible after VM migration to new host

We have a fileserver that was on a dying ESXi host, I migrated it to the new one with Veeam (Couldn't use vCenter until I upgrade the ESXi hosts to 5.5). Once I booted it back up, everything acts ...
1
vote
1answer
74 views

How to ensure that hostname will be set to Virtualbox VM name when using a preseed automated install debian file with PXE boot?

Let's say I create a VM in Virtual Box. My environnement with TFTP boot is ready. The install goes well, except that the machine doesn't have the VM name as hostname ... How to force that ?