Questions tagged [hostname]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
26 views

How can I assign human-readable names to MAC/ethernet addresses without knowing the IP address?

I am using tools like airodump-ng and the output lists BSSIDs as MAC addresses. However, some of these stations (and clients) are known to me and I would like to tag them, or name them, something. I ...
0
votes
1answer
26 views

Ubuntu set hostname via hostnamectl with multiple virtual hosts

I would like to set the hostname of my Ubuntu 16.04 to a FQDN, as I plan to install Postfix server. However I have multiple domains hosted in the web server via Apache2 virtual hosts. For example: ...
0
votes
0answers
26 views

Docker: Access machine by hostname in container

Despite starting my container with --network=host it seems that I cannot connect to my local machines by hostname inside the container (based on Ubuntu 18.04): # ping T540.local ping: T540.local: Name ...
0
votes
0answers
16 views

zimbra hotname and host file configure error

My domain is example.org and my subdomain is second.example.org. I set the hostname for Zimbra to mail.second.example.org. host file configure is <ip> <FQHN> <HN> = myipaddress mail....
0
votes
2answers
29 views

change the hostname for a given service

I have 2 services running on my server. The first python service is working as expected. # netstat -tulpn | grep LISTEN | grep 8888 tcp 0 0 0.0.0.0:8888 0.0.0.0:* ...
1
vote
2answers
99 views

What causes a computer/phone/device to do a DNS lookup for its own hostname?

The two main things I'm wondering are: What causes a computer/phone/device to do a DNS lookup for its own hostname/FQDN How long after a device leaves a network will it retain the "settings"...
2
votes
1answer
133 views

how to setup dnsmasq for DNS for private and public hostnames via different DNS servers [duplicate]

lets say i have this private hostname dev.private.example.com that is only accessible in a private network over VPN connection and i have prod.example.com that is accessible to the internet. I have ...
0
votes
1answer
56 views

Can not ping any hostname/domain when ufw enabled

Why I can't ping any domain/hostname when ufw enabled? [root@ip-172-31-23-37 ec2-user]# ping google.com ping: google.com: Name or service not known [root@ip-172-31-23-37 ec2-user]# ufw disable ...
0
votes
0answers
12 views

Add user home directory depending hostname

Is it possible to add a list of users and change the home directory of each user depending on the host name of the server? Thanks in advance
0
votes
1answer
55 views

How to identity who is scraping my website?

I have an e-commerce website, hosted on AWS. I understand there are tools that prevent/block the scraping bots. But is it possible to detect who is scraping my website? I mean, would I be able to ...
1
vote
0answers
49 views

Changed hostname, openssl s_client not working

I changed a CentOS 6 GNU/Linux hostname, and now everything is perfect regarding the new hostname. But when executing openssl commands, such as: # openssl s_client -CApath /etc/ssl/certs -showcerts -...
1
vote
1answer
115 views

How to find another container on the same ECS cluster by hostname?

This question feels too obvious to not already have an answer but all of my google searches are coming up with nothing. In docker (docker-compose) you can easily get the IP of another container by ...
0
votes
0answers
36 views

FQDN hostname -f

Issue Details Working Server: root@hello:~# grep example.com /etc/hosts 127.0.1.1 hello.example.com hello root@hello:~# cat /etc/hostname hello root@0123:~# hostname -f hello.example.com Affected ...
0
votes
1answer
31 views

Ping server remotely timed out

I recently setup local Ubuntu server to host VS Code and NGINX servers which work fine on codeserver (hostname) and can ping the hostname and IP address remotely. The problem I am facing is that I ...
0
votes
0answers
19 views

Setting Ubuntu hostname and hosts file with external domain for Postfix

I have a VPS with DigitalOcean and I also have a public domain registered with Namescheap. I have A and AAAA records in my Namescheap DNS settings pointing towards my VPS. I'm trying to setup Postfix ...
1
vote
1answer
30 views

WinServer Connects To SMB Share As “TINA2”

I have a computer that has a fileshare (Windows Server 2012). When I looked at the sessions, I saw a computer named tina2. There is no current computer on our network named tina2. When I ...
0
votes
0answers
40 views

VPS domain and hostname configuration: Failed to start hostname service - unit is masked

I wanted to update the hostname of my VPS server from my old server name serverxxxxxx to my domain mydomain, so I edited the two files: I have updated /etc/hostname so that now it looks like this: ...
0
votes
0answers
30 views

Accessing servers through hostname now requires FQDN?

After upgrading to Linux Mint 20, the servers (pgsql databases and windows network share) on our internal network now require the fully qualified domain instead of just the machine name. For example, ...
1
vote
1answer
350 views

How to block Hostname in htaccess?

I get thousands of server requests from "clients.your-server.de" i use these code in htaccess to block bots and spiders, but i did not know if the two first lines of code will work ... Is it ...
0
votes
1answer
422 views

Webmin redirects to my hostname instead of my domain name [closed]

I have Webmin working on a domain with an SSL certificate. However, when I visit it over HTTP, it redirects to https://hostname:10000 instead of the domain name. I've set the FQDN in /etc/hosts (...
0
votes
0answers
22 views

FQDN not persisting on reboot

I am trying to set up the hostname for my new Ubuntu 18.04 server using the following command: hostnamectl set-hostname foo.example.com And adding the following line to /etc/hosts 12.34.56.78 foo....
1
vote
1answer
47 views

Can my Ceph nodes have the same hostname?

I have a high availability solution which requires me to have all my nodes using the same hostname. I've been tasked to use ceph cluster storage, but I just reached a dead end. I can't figure out how ...
0
votes
2answers
51 views

Add Linux hostname to Windows DNS GUI [closed]

In Windows Server 2008 R2, and in an Active Directory Environment, how can I add an alias hostname to DNS, so that all workstation will know the internal ip address of that alias hostname? I have a ...
0
votes
0answers
21 views

Re-mapping hostname

Lets say I have 2 server, one server (server A) I configure haproxy and define access control lists to allow acl host_domain hdr_end(host) -i domain.name and another server (server B) I set hostname ...
0
votes
0answers
16 views

Issue with hostname on Windows Server 2012 domain controller

We moved sites recently and since the move I have been unable to get the DC to respond to pings / file locations using the hostname - it can be pinged fine, and I can ping the hostname from the DC ...
0
votes
1answer
116 views

Connect to FTP server without using hostname

I have a VPS with IP address: 54.432.212.12 There are multiple sites running on it. My IIS FTP site bindings are: Site 1 Bindings: 54.432.212.12:21:www.mydomain.com Physical Path: E:\mydomain\wwwroot ...
1
vote
1answer
419 views

What does “localhost name resolution is handled within DNS itself” mean?

I know that the Windows hosts file maps host names to IP addresses. But there is no mapping for localhost. Instead it has a comment that says this: # localhost name resolution is handled within DNS ...
0
votes
1answer
42 views

Hot to get external host names for each internal private addresses?

My lab has a private network like this (public address: 133.3.133.133, host name: my.lab.host.name) lab-gateway (private address: 192.168.0.1) |__labgpu01 (private address: 192.168.0.3) |__labgpu02 ...
0
votes
3answers
51 views

Is it OK to have Hostname domain different than the Nameservers domain?

I was wondering if hostname domain and nameservers domain can be different on my server. I have always kept them the same but now that I am moving my server, I do not want my clients to have the ...
0
votes
0answers
39 views

Why is there an error on running host program using git bash terminal?

I am using git bash as a terminal to run code. I doing a course where it has asked us to use the host program to look up host names using DNS. However when I run nslookup it works fine. screenshot of ...
0
votes
0answers
81 views

How to add SSL certificates for multiple VPS (Shared Hosting Servers) with the same primary domain?

I am planning 3 VPS shared hosting servers. Of particular focus in this question...they are also acting as mail servers. host1.mydomain.com host2.mydomain.com host3.mydomain.com (where "mydomain" ...
0
votes
1answer
30 views

After a Postfix mail server is installed do I need to add mail.example.com to the hosts file?

Environment: CentOS, Postfix, Dovecot, Digital Ocean droplet My /etc/hosts file contains these lines. # The following lines are desirable for IPv4 capable hosts 127.0.0.1 example.com example 127.0.0....
0
votes
0answers
17 views

Using postfix without being able to set custom hostname

As the title suggests I am using a VPS that does not allow me to set a custom hostname. On every reboot the hostname is reset to their specification. Can I still run a postfix mail server on this ...
1
vote
1answer
293 views

Windows not resolving local hostname to hosts file IP

I have a multi-homed Windows 10 and I want my application to open a Server Socket on a specific IP given by its hostname. My machine hostname is MY-PC and it has a public IP 192.0.0.2/24 and a "...
0
votes
1answer
61 views

Do private hostnames correlate with or have any direct effect on public hostnames on a running webserver?

I am running a LEMP webserver on my Raspberry pi using Rasbpian. The name of my my pi's hostname is raspi-host123. My local hosts file on my server looks like this: 127.0.0.1 localhost ...
0
votes
1answer
197 views

When I do a ping for my CentOS 8 web server, it shows a name that is not the hostname or domain name. where is it getting it from?

I have set my hostname like this: $ sudo hostnamectl set-hostname dev.mydomain.com and I see it got set when I do this: $ hostnamectl status Static hostname: dev.mydomain.com Icon name:...
-1
votes
1answer
54 views

Problems resolving hostnames on LAN in CentOS

I have a CentOS 7.7 server up and running, which I am trying to access from other CentOS machines on LAN. Unfortunately, I am not able to reach the hostname from other machines. How can I solve this ...
0
votes
1answer
374 views

CWP: Setting up name servers and web panel at new server

I have installed CentOS Web Panel on my digital ocean droplet. I can access web panel using IP, and I have my domain example.com on name cheap. I wanted to: Access web panel using srv.example.com ...
0
votes
0answers
32 views

If the certificate CN is different from a server's public DNS name, are SANs the way to go?

I am aware that hostname verification is required for an SSL handshake to be successful, and is vital for security reasons (i.e. MiTM attacks). That said, AWS automatically assigns public DNS names ...
2
votes
0answers
588 views

Can't reach own host URL from within Jenkins build docker environment

I am running Jenkins as Docker image (https://hub.docker.com/_/jenkins) From within, I run a node-12 docker image as build container. I am running a script to publish the new version to our local app ...
0
votes
1answer
497 views

dhclient.conf - append to system hostname [duplicate]

I'm running a Raspbian on a bunch of Raspberry Pis. They each have a unique hostname set in /etc/hostname and the dhcp client correctly registers that name with my router. The problem I'm running ...
0
votes
2answers
64 views

Can the hostname section of a FQDN be something other than the hostname?

I understand that a FQDN is the combination of the domain name and the machine's (host's) name. But can I have a FQDN where what the hostname would be, is something different? Can this cause problems? ...
1
vote
1answer
908 views

Changing from Localhost to Computer Name Throws 403 Error (Tomcat 9)

I am trying to run Tomcat 9. I have configured it to run with SSL. So when I am accessing the tomcat URL with: https://localhost:8443/manager/html It works fine. But when I try to run it with my ...
2
votes
0answers
3k views

Change remote server's hostname with ansible

I want to change my remote server's hostname so I used the hostname module: - hostname: name="{{my_hostname}}" But that also changed the ansible_host to that value, and so messed up remaining tasks. ...
0
votes
2answers
110 views

Should full hostname of email server be set in the DNS Zone Settings?

We are using a rented VPS as an email server. Lets say the email domain is example.com. The nameserver for example.com is a different server. rDNS for the VPS can be set on the hosting side. In order ...
0
votes
3answers
57 views

Custom Nameserver (Hostname) Registration

I have done enough research and I feel that a solution specific to my problem doesn't exist or I'm unable to find an easy option to choose. So I'm going to offer my clients managed hosting using third-...
1
vote
1answer
804 views

Append domain to container hostnames in a Kubernetes StatefulSet

I have created a Kubernetes StatefulSet. There are three pods in the StatefulSet with names mysql-0, mysql-1, and mysql-2 each with a single container. If I "log" onto the container in pod mysql-1 ...
-1
votes
1answer
201 views

Pointing to another domain using CNAME

I would like to point a subdomain to be displayed in another external domain using CNAME flattening. e.g. book.webbangkok.com to be displayed at property.thailandbusinessconsultant.com In webbangkok....
0
votes
2answers
618 views

Google Cloud VM Instance Name Change

I would like to change the VM instance name on the Google Cloud admin portal to reflect the new names I have given various servers. Is there a way via the GUI to do so, or does this need to be done ...
1
vote
1answer
3k views

/etc/HOSTNAME on SuSE: short name or FQDN?

The file /etc/HOSTNAME on SuSE-Linux contains the host name. Should this be the full qualified domain name, or the short name (without ".")? Related question: socket.getfqdn() returns no domain, but ...

1
2 3 4 5
12