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.

-2
votes
0answers
15 views

Multi hostname for sending emails?

I have a debian VPS. I use VestaCP to manage my domains. I noticed that when I send email from my domains, all of them report hostname (which is ONE of my domains) like this: Received: from ...
0
votes
1answer
35 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
37 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
67 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
19 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
1answer
36 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
27 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
34 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
16 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
131 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
50 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
24 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
39 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
192 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
39 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
1k 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
182 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
216 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
233 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
225 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
638 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
23 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
47 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
47 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
170 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
71 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
36 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
163 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
109 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
688 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
332 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
31 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
161 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 ...
0
votes
0answers
20 views

Netatalk 3.x hostname resolution

In the documentation for afp.conf, it states that: The variables which can be used for substitutions are: $b basename $c client's ip address ... $h hostname I ...
1
vote
2answers
707 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
71 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
111 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
511 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
62 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
72 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 ?
2
votes
0answers
166 views

File Server - Hostname vs. FQDN

I have a problem with a File Server at Microsoft Windows Server 2008 R2 Operasion System. When my user browse a network share with FQDN she can't see the files, but if she browse it without FQDN (only ...
1
vote
0answers
508 views

OpenWrt as LAN DNS server only (no DHCP, router, …)

I would like to add to an existing LAN a small device running OpenWrt, to act as a Local Area Network DNS using dnsmasq. I have in my LAN some local servers which would be very handy to use if the ...
1
vote
0answers
34 views

Can Linux hostname be changed without machine first being unjoined from the domain?

We are considering changing the hostname of a number of Windows/Linux machines, all of which are joined to a Windows Server 2008 R2 domain. From past experience I know that a Windows member server ...
0
votes
2answers
439 views

What is the importance of the Hostname when setting up a VPS?

I am setting up a VPS and I was wondering how important the hostname i.e. name.domain.com is when setting it up? For example the server is most likely going to be for my studio so it will host a ...
2
votes
1answer
487 views

Isc-Dhcpserver static DHCP missing client-hostname

I got a strange problem with my isc-dhcpserver (Ubuntu 16.04). When clients are requesting from the server, I can see the following output in /var/log/syslog : Jun 21 21:41:25 drake dhcpd[265]: ...
2
votes
1answer
60 views

What happens if I reinstall Windows and add it to the AD with the same name?

Sometimes the proverbial excrement hits the fan and I need to reinstall the OS on a laptop or something. This isn't an issue. Normally, I follow the following procedure: delete the computer from the ...
-1
votes
2answers
84 views

Why is my email being sent through a strange hostname? [closed]

A client's email is handled by G Suite. When I check senderscore.org a strange sending IP and hostname (mail.jbsgroup.ie) appears amongst other Google-related hostnames. This particular domain belongs ...