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.

1
vote
1answer
8 views

Call the openvpn server by it's hostname

I use an openvpn infrastructure with a server and some clients. The clients can call each other via their hostnames, but cannot reach the server in the same way. At the moment it is possible to reach ...
0
votes
0answers
34 views

Mac OS X How is Hostname configuration set up

I have taken over a network of Mac Minis at work. The system was installed by a development company that has gone bust and are uncontactable. Each of the Mac minis are connected to a Mac pro acting ...
-5
votes
1answer
49 views

Is a web server able to know the hostname which was resolved to the IP address of the web server? [on hold]

For a web server, name based virtual hosting uses hostname specified in the Host header in a HTTP request received by the server. Is a web server able to know the hostname which was resolved to the ...
-2
votes
1answer
42 views

Are the hostname resolved by DNS and the hostname resolved by web server for virtual hosting independent of each other?

Are the following two independent of each other: the hostname resolved by DNS and the hostname resolved by web server for virtual hosting ? Thanks.
4
votes
2answers
863 views

Is file /etc/hostname ever used for host name resolution?

When setting up a local Wi-Fi network in a small place from an ISP, such as Verizon, using a router and modem, the machines in the network are assigned private IP addresses. In such a local Wi-Fi ...
-3
votes
3answers
107 views

what is it like that a host name is resolvable to more than one IP addresses? [on hold]

From https://serverfault.com/a/953384/16981 Host names do not correspond to an {ipaddress,port} tuple. A host name is only the name of a server, which should be resolvable to one or more IP ...
4
votes
3answers
2k views

When specifying a “host name”, do we still need to specify a port?

https://en.wikipedia.org/wiki/Virtual_hosting says Name-based virtual hosts use multiple host names for the same IP address. Does a "host name" correspond to an IP address or a pair of IP ...
-1
votes
0answers
12 views

Nginx server listen configuration

I currently have the following nginx configuration: server { server_name example.com; listen 443 ssl http2; listen [::]:443 ssl http2; ... } After looking at the nginx documentation ...
0
votes
1answer
14 views

My google cloud instance is no longer able to resolve external hostnames

Yesterday I had to revert to a recent snapshot of my vm. This vm was working flawlessly at the time I took it. But now I can no longer resolve any url from this host. All git pull commands, all curl ...
-1
votes
1answer
38 views

What influences “hostname -I” IP order

The man page of hostname tells us for the option -I: "Do not make any assumptions about the order of the output.". Anyway, our servers always gave back the external IP in the first place and the local ...
0
votes
0answers
26 views

Can connect to kafka, but cannot consume

I have a 3 broker kafka cluster set up in an AWS VPC with kubernetes, I am using the https://github.com/Yolean/kubernetes-kafka repo for this. I'm having the strange issue of being able to connect ...
0
votes
1answer
69 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. ...
2
votes
2answers
54 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
271 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
45 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
39 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
201 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
33 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
79 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
46 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
40 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
74 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
41 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
68 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
38 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
59 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
27 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
234 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
98 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
36 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
49 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
330 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
58 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
269 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
450 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 (...
2
votes
1answer
363 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
343 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
864 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
25 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
79 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
187 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
75 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.. ...
1
vote
2answers
338 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
172 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
432 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 ...