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
0 votes
1 answer
47 views

Using custom nameservers

In Godaddy I have a domain example1.com and www.example1.com with valid A record to my Centos 7 server's IP. I 've created hostnames for that domain, ns1.example1.com, ns2.example1.com with the same ...
Michael Chourdakis's user avatar
1 vote
1 answer
42 views

IIS 10 website with hostname served by Default Web Site

I have configured some websites in IIS on my Windows VPS. When I am accessing this subdomain installer.app-wards.com from the server, it's going to the wwwroot folder from Default Web site instead of ...
Peekyou's user avatar
  • 113
0 votes
2 answers
568 views

Node.js: IP generated from my web hosting domain is "not available" (can't setup a https server)

I'm creating a brutally simple HTTPS server on render.com using Node.js, which upgrades to WebSocket communication. Here's the code: const https = require('https'); // Create an HTTP ...
Lubos Chlebicki's user avatar
0 votes
1 answer
638 views

Serving 2 different websites from the same IIS server on the same port

I have 2 different websites: mysite.com api.mysite.com I want to be able to serve both of these websites from the same webserver (same IP) and same port number. I have followed this document, and ...
Hooman Bahreini's user avatar
0 votes
1 answer
73 views

My website is available if I type the hostname ip in the broswer, How to fix

My website is available if I type the hostname ip in the broswer How to fix this and redirect it to my website or what to do? I manage to found some info in previous similiar answers server block with ...
Crypto Coupons's user avatar
3 votes
2 answers
205 views

Changing hostname for the purpose of email delivery

I have email delivery issues, and MXtoolbox says "Reverse DNS is not a Valid Hostname". I have A and AAAA records for domain.com and mail.domain.com. The data center has set up reverse DNS ...
Mikkel Rev's user avatar
0 votes
1 answer
248 views

hostname changed without me changing anything

My hostname changed to "cpe-172-101-0-1.maine.res.rr.com systemd-resolved" without my consent on fedora 37. When i type journalctl -u systemd-hostnamed.service journalctl -xe entry is: févr. ...
user avatar
1 vote
1 answer
294 views

How to make systemd journal remote use hostname instead of IP address?

I do have one log server which runs systemd journal remote software to receive journal entries from remote hosts via systemd journal upload. This works fine. The only trouble that I have is that the ...
antonio amaddio's user avatar
0 votes
1 answer
380 views

How to Make the IP Address Appear as Part of Bash Prompt?

Running an Amazon EC2 instance with Ubuntu 22.04. The elastic ip address is 52.120.94.72. I want the bash prompt to read like this (no space) [email protected]:~/working_directory$ Based on some ...
Della's user avatar
  • 175
4 votes
1 answer
2k views

reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your reverse hostname

Sending an email from my local network is going fine. Also through Thunderbird or remote with Roundcube, which is locally installed. But now, I am in Asia and try to send an email with Thunderbird. ...
Zilvermeeuw's user avatar
2 votes
1 answer
3k views

Nmap unable to resolve hostnames

I have tried running several nmap commands and I can't get the results to return host names. My results look like this: Nmap scan report for 10.2.16.253 Host is up (0.0025s latency). All 1000 scanned ...
UbuntuNoob's user avatar
0 votes
1 answer
552 views

ESXi using DHCP, IP is accessible, Host Name isn't

I have a brand new ESXi host, configured for dynamic IP via DHCP, and I can access the web interface with the IP address, but not the host name. I thought (with a very shallow understanding, to be ...
Gordon's user avatar
  • 175
1 vote
1 answer
12k views

Docker: error could not translate host name to address: Name or service not known in psql

We have the following Dockerfile: FROM debian:stable-slim ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get full-upgrade -y && apt-get install -y --no-install-...
Munchkin's user avatar
  • 133
0 votes
0 answers
832 views

can't set a windows docker container hostname in the hosts file

I set a windows docker container to run some software (abbyy fineprint) that needs to match the docker name (abbydock) with the localhost ip (127.0.0.1). I'm starting the container with docker run -h ...
Gonzalo Rivero's user avatar
0 votes
1 answer
166 views

How to add multiple hostnames in private DNS zone in Azure to resolve hostnames for VNET?

I have an AKS (Azure Kubernetes cluster) that is on a VNET (Azure Virtual Network) that needs to connect to multiple On-prem hadoop machines to read/write data. I have a private DNS zone connected to ...
Venkatesh Gotimukul's user avatar
0 votes
1 answer
453 views

Variables on set-hostname and mv command in shell script

I have the below script in Shell: read n for ((i=1;i<=$n;i++)) do echo "Connecting to $publicip" ssh -i ./key.txt root@$publicip 'hostnamectl set-hostname autotest$i.domain.com && ...
serverstackqns's user avatar
1 vote
1 answer
3k views

Multiple hosts with the same hostname on the same network?

Hypothetical situation: I have two (Linux) computers on the same network with the same hostname, but different FQDNs (foo.example.com and foo.example.org). They have different MAC addresses, and get ...
QF0's user avatar
  • 183
0 votes
0 answers
452 views

Sendmail does not masquerade the hostname.domain combination

My MASQUERADE settings looks as follows... dnl # Also accept email sent to "localhost.localdomain" as local email. dnl # LOCAL_DOMAIN(`localhost.localdomain')dnl dnl # dnl # The following ...
Mike's user avatar
  • 1
0 votes
1 answer
362 views

nslookup script for return empty hostnames

I want to write script which returns hostnames with no IP. I wrote following part of the script but I don't know how can I return the empty answers. Thanks in advance $numbers=1..255 foreach ($number ...
Rashad Aliyev's user avatar
0 votes
1 answer
181 views

Construct public ipv6 adress from hostname of router and interface id of client [closed]

I'm trying to ssh to some client behind a router that has a dynamic IPv6 address. Directly using the public IPv6 address of the client works just fine. Now, I'd like to dynamically construct the IPv6 ...
dba's user avatar
  • 178
0 votes
1 answer
384 views

How to use hostnames in smtp_bind_address in Postfix configuration?

It seems that Postfix does not allow hostnames in the smtp_bind_address config parameter. But it does allow hostnames in inet_interfaces. For SPF I want to make sure which address SMTP-clients bind to ...
Robert Siemer's user avatar
1 vote
1 answer
787 views

FQDN without the hostname part?

As far as I know, A fully qualified domain name (FQDN) consists of two parts: The hostname part: A single label representing a machine belonging to one specific domain. The domain name part: ...
gossac's user avatar
  • 21
0 votes
0 answers
1k views

Pfsense : using the server to resolve hostnames as ip in local vlans

I made a network with 3 machines, one is a pfsense server that manage a captive portal, a dns, dhcp server and firewall rules, it is in a trunk network. The second pc is a server hosting some services ...
Spark_TheCat's user avatar
0 votes
1 answer
213 views

SSH from Windows 10 to Manjaro Linux using its hostname [closed]

I am using PuTTY to connect to a Lunix machine on local network via ssh and it works fine if I specify the IP address. However I cannot do it using the machine's host name. It seems that Windows ...
tereshkd's user avatar
1 vote
1 answer
677 views

Setting up dnsmasq as a DNS and DHCP server on a LAN

My routers: Main Router: 192.168.100.1 Second Router: 192.168.101.1 The Main Router is provided by my ISP(a modem/router combo all in one). I don't have control over its settings. Except for ...
Kavish Gour's user avatar
0 votes
1 answer
175 views

DigitalOcean Droplet ssh to use a named key

It's been a while since I've done this and configured ssh keys. I generated an ssh key with a different file name than id_rsa I have a DigitalOcean Droplet where I placed a named ssh key pair on ...
Kyle Calica-St's user avatar
1 vote
0 answers
333 views

Transient hostname was changed in a server

In one of our production server automatically set transient hostname. hostnamectl status shows Static hostname: abc11.example.com Transient hostname: I Icon name: computer-vm ...
Sachith Muhandiram's user avatar
1 vote
1 answer
2k views

Ansible can't set hostname

Im facing a problem with ansible. I'm trying to set the local hostname of the vm to the ansible inventory name. my task looks like this: - name: set hostname to {{ inventory_hostname }} hostname:...
friedulman's user avatar
0 votes
2 answers
746 views

DNS suffix not being used with windows server hostnames over VPN

Our internal network is a windows domain, contoso.net. Internally, if a user needs to get to a file server share, they can navigate to \\fileserver\share or \\fileserver.contoso.net\share and both ...
stevenmiller's user avatar
0 votes
0 answers
1k views

The ssh agent cannot 'resolve hostname' when called from within a bash script

I have a bash script #!/bin/bash scp -r some_directory remote_host:~ which I made executable with chmod u+x. The remote_host has been defined in my .ssh/config as follows: Host remote_host HostName ...
Marlo's user avatar
  • 105
-2 votes
1 answer
196 views

Connecting subdomain to a server as hostname

I have my website (mydomain.com) connected with a vps server and now I want to setup another server and use subdomain from main domain for hostname as well the nameservers (e.g. srv1.mydomain.com ...
Alena's user avatar
  • 97
3 votes
1 answer
4k views

How to change the hostname on the single-node K8s node

Environments: OS: Ubuntu 18.04.5 LTS Kubernetes: v1.16.15 deployment tool: kubeadm v1.16.15 I initialize a single-node K8s on my workstation with the following configuraions: --- apiVersion: kubeadm....
huang06's user avatar
  • 31
0 votes
1 answer
148 views

Debian 10 MX hostname issue

I am facing an issue where every single site like intodns, dnsstuff, mx toolbox is reporting that i have 2 issues. Namely: Reverse DNS does not contain the hostname Reverse DNS does not match SMTP ...
AlifOpenSrc's user avatar
0 votes
1 answer
685 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: ...
Raptor's user avatar
  • 1,001
0 votes
2 answers
251 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:* ...
shantanuo's user avatar
  • 3,579
1 vote
2 answers
545 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"...
kimbo's user avatar
  • 63
4 votes
1 answer
2k 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 ...
uberrebu's user avatar
  • 503
0 votes
1 answer
1k 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 ...
Muhammad Dyas Yaskur's user avatar
0 votes
0 answers
102 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
Markus Tosi's user avatar
0 votes
1 answer
227 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 ...
Hooman Bahreini's user avatar
1 vote
0 answers
685 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 -...
HeCSa's user avatar
  • 36
5 votes
1 answer
2k 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 ...
Philip Couling's user avatar
0 votes
1 answer
46 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 ...
William Jerome's user avatar
1 vote
1 answer
39 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 ...
Black Dynamite's user avatar
0 votes
0 answers
73 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, ...
DPSSpatial's user avatar
2 votes
1 answer
2k 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 ...
soo29's user avatar
  • 23
0 votes
1 answer
2k 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 (...
Dev's user avatar
  • 103
1 vote
1 answer
129 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 ...
Malazzar's user avatar
0 votes
2 answers
347 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 ...
LonnieBest's user avatar
  • 1,510
0 votes
0 answers
64 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 ...
Luke's user avatar
  • 1

1
2 3 4 5
13