Questions tagged [host]
The host tag has no usage guidance.
227
questions
0
votes
1
answer
45
views
using hostname instead of IP address in vpn [duplicate]
I server noob here and I've a problem at my hand, I've a VPN and there are several VMs connected to it, each host a specific service. These services are running on a specific port (3000,8080). So when ...
0
votes
1
answer
38
views
How do I get my coworkers to try out my wiki (DokuWiki) with its provided apache server? [closed]
I'm restarting an attempt to make a case for a Wiki at my workplace. Our IT is very difficult to work with and unfortunately, it looks like we will have to do this somehow without installation or ...
0
votes
2
answers
1k
views
How to add http host header in URL?
I have web app deployed in K8 in aws & configured LoadBalancer to call the same from internet.
In the Postman I call like ,
GET https://myteams.myorg.net/config
Headers: Host doom.myteams.myorg....
0
votes
0
answers
169
views
Cannot ping two computers with each other on the same switch. (Newbie)
I am an absolute 0 in network science and I would like to understand it a little bit.
We have an offline machine connected to a switch, which is also connected to a series of other hardware that ...
1
vote
1
answer
48
views
Will moving my same domain name to new host affect my subdomains?
For an example this is my website www.domain.com. i'm moving to this domain to new host but i already have www.beta.domain.com and beta2.domain.com. If I move my domain to another host it will ...
0
votes
1
answer
163
views
Cannot connect to bastion host in AWS
I am following the guide in https://aws-quickstart.s3.amazonaws.com/quickstart-bitnami-wordpress/doc/wordpress-high-availability-by-bitnami-on-the-aws-cloud.pdf to create a WordPress High Availability ...
0
votes
1
answer
68
views
Connecting two nodes, dynamic tcp connections tunneling through a central server
Conceptual system in my mind of what i'm looking for:
Given two hosts (can be pcs) !
Both can be on dynamic network (dynamic ip)!
Both connect to the same central server to find each other! (in my ...
0
votes
1
answer
54
views
Why is a host sever location displayed differently?
I am very new to this field, and would like to get an explanation on the mechanism of the below.
When I check the location of a host server, sometimes they show the location differently.
For example, ...
0
votes
1
answer
316
views
Will /etc/host file entries be transferred to VPN DNS Server?
I have several localhost entries on my local etc/host file. (in Mac "/etc/hosts" and in Windows "C:\Windows\System32\drivers\etc\hosts"
# LOCAL DEVELOPMENT
172.16.5.248 maxim.local
...
0
votes
1
answer
875
views
Cannot bind port 111 on docker on WSL2 on windows, but port is (apparently?) currently free
Setup
I have this setup:
Windows 10 pro with WSL2 with an Ubuntu 20.04 inside.
Inside the Ubuntu, I have a running docker engine that has been working perfectly for over during months, exposing ...
3
votes
2
answers
913
views
When 'dig' returns a single A record, the IP address changes between calls. What is this a sign of?
In my internal work network, whenever I launch dig against a particular hostname, I get result similar to this:
;; ANSWER SECTION:
some.internal.host.com. 10 IN A 10.210.54.121
If I keep ...
0
votes
0
answers
119
views
KVM Ubuntu host - Ubuntu guest: high cpu playing youtube videos
Goal is to lower cpu load in an Ubuntu 20.04.2 vm when playing youtube videos.
OS is Ubuntu 20.04.2 for host and kvm guests.
Cpu is intel i7-3820qm @ 2.70ghz - ivy bridge - 4 cores - 8 threads.
Have ...
1
vote
1
answer
54
views
What are some behaviors/patterns that indicate that a host is degrading?
Student here, I'm wondering how we know that hosts are degrading (specifically EC2 instances)? What are some typical behaviors that could indicate the degradation? I looked through the site and ...
0
votes
1
answer
120
views
Is there a way to handle host restart for CRON task if the restart frequency is extremely low about once-twice per year?
As mentioned in another question here: Job scheduling using crontab, what will happen when computer is shutdown during that time? that Cron jobs will not work during shutdown/restart case and we can ...
1
vote
0
answers
61
views
How to set up dynamic DNS for 'host' in isc dhcpd
I have set up a couple of subnets in my network, and in one of these subnets I'm setting up hosts like this:
subnet 10.0.0.0 netmask 255.255.255.0 {
option ntp-servers 10.0.0.1;
option time-...
1
vote
0
answers
159
views
Same sysctl kernel parameters for KVM host and guest
I need to set up a KVM guest with the following sysctl kernel parameters:
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 ...
0
votes
1
answer
38
views
Workstation virtualization on workstation host
Problem exposition
I am a system administrator in our company, and I am currently researching a possible solution for more stable workflow in a our company. Our company is a chain of hundreds general ...
7
votes
1
answer
6k
views
Why do dig, host and nslookup return different results?
It seems my default (router) DNS server returns different results depending on the tool used to query it.
Using dig:
$ dig @192.168.1.2 test.example.com
; <<>> DiG 9.16.8-Debian <<&...
1
vote
1
answer
274
views
Proper way to configuring docker network bridge on the host side
Edit: Note that I'm referring to a single host setup, some local server architecture and not some enterprise-grade backend :D
docker network create with the bridge driver creates an actual bridge ...
0
votes
1
answer
34
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 ...
1
vote
1
answer
486
views
HAProxy check host name
We run haproxy as load balancer and to provide backup functionality for our API service.
Our API is a Java Application using the Jersey framework running in Apache Tomcat. Some time ago we ran into a ...
0
votes
1
answer
775
views
Where does RewriteCond %{HTTP_HOST} refer to?
I keep seeing website redirection have something like below:
RewriteCond %{HTTP_HOST}
But where does the HTTP_HOST refer to? Is it referring to the configuration in some files or the CNAME or ...
0
votes
1
answer
2k
views
UseCanonicalName On applied however host of request header still wasn't change
I had an issue with website redirection and I found that my rewritecond input= 'www.example.com' and my request header host = 'example.com'. So I try to apply UseCanonimalName On in vhost where my ...
2
votes
2
answers
620
views
Is a subdomain essentially a host?
I'm trying to understand the difference between a subdomain and a domain in a LAN versus a WAN (Internet). (Or am I just fooling myself. Is it the same?)
If I google it I just get that a subdomain is ...
1
vote
1
answer
1k
views
redis instance restore using dump.rdb is not working
I have redis instance with 10 keys in qa env.
the instance is configured to use dump.rdb in /tmp directory .
I ran "save" command and saw new dump.rdb file that was created .
then I created new ...
0
votes
1
answer
1k
views
How to open google.com using curl with Host header (certificate does not match) [closed]
Since Google is using HTTPS/SSL I am unable to access it using the IP of Google.com and passing the Host header. I don't understand why this is not working.
Here is what I have tried so far.
I got ...
1
vote
1
answer
346
views
If I have user/host pair "root@<MyMachineName>", is it necessary to keep "root@localhost" in the mysql host/users table? (multi-part Q)
On computer "dexwin10", the user@host pair is as follows:
root@dexwin10
root@%
root@localhost
When people install our software, we want them to be able to access the database from computers ...
0
votes
0
answers
29
views
How to transfer domain to a new Hosting provider while keeping emails on old Hosting provider? [duplicate]
So let's say I have a website hosted in Yahoo Small Business with the domain name of 'website.com' as well as emails associated with the domain name, for instance 'email@website.com'.
How would I ...
0
votes
1
answer
592
views
Why does ping to FQDN fails, but dig succeed?
When I try to ping a certain FQDN, I fail:
$ ping test-customer-1.clients.jsonar.com
ping: test-customer-1.clients.jsonar.com: Name or service not known
However, dig et al. succeeds:
$ dig test-...
0
votes
1
answer
50
views
Accessing Bottle webserver VM form Host
I have an Ubuntu VirtualBox VM running and Bottle webserver on http://0.0.0.0:8080. How can I access this on my host (OSX)?
I want to do this because accessing the web server using FireFox on the VM ...
0
votes
1
answer
714
views
What is "the URL" that restricts the Host header?
The following quote from HTTP The Definite Guide assumes "the URL" comes from somewhere and uses it to restrict the Host header. Where does "the URL" come from? Is it from the first line of a HTTP ...
0
votes
1
answer
2k
views
Change http_host fastcgi param with nginx
Context: I've got an application that run under a given domain. But in some cases I need to run it under another domain than the domain it expect (I also change potentially the port).
I'm trying to ...
0
votes
1
answer
2k
views
Creating a Zabbix item on the zabbix server to ping agentless host machine where vm (with agent) runs on
We're working with Zabbix (2.4.7), i'm going to call this the zabbix server. The zabbix server has many machines which it is monitoring. The machines have zabbix agent installed on them.
The machines ...
1
vote
0
answers
888
views
VPN Redirection based on specific domain and IP
I have a VPN connection on my mac and I try to redirect (1) only some IP range and (2) domain throw VPN connection.
I achieved to redirect all IP range from 192.168.11.0/24 through VPN by creating a ...
0
votes
1
answer
3k
views
Auto-unpacking WARs doesn't work
I have trouble with auto-unpacking WAR-files in Tomcat. My Host descriptor at server.xml (defaultHost="mp.org"):
<Host name="mp.org" appBase="/var/www/mp/target/web/"
unpackWARs="true" ...
-1
votes
1
answer
413
views
Official BIND9 Windows binaries - host.exe, dig.exe - don't do anything
I have downloaded the official BIND 9 Windows binaries from ISC. They don't do anything:
$ .\host.exe google.com
$ (no output)
Same with dig. How do I make host, dig etc work on Windows?
0
votes
1
answer
60
views
Is it a good idea to point two dns hosts over four servers
I'm trying to add two more DNS servers to our pool to have more reliability under load and avoid losing visitors due to attacks or hardware issues.
Since we have many websites setup to point at ns1....
2
votes
1
answer
3k
views
.htaccess block access when HTTP_HOST is IP (Security)
I have had a lot of attacks on my server. Most start with a vulnerability scan, followed by waves of POST requests.
I will soon be implementing Cloudflare (WAF and DDos). This means that a DNS lookup ...
0
votes
1
answer
1k
views
Can I access virtual hosts from one computer directly by their IP address from another without configuring the hosts file?
I set up a couple virtual hosts in order to point to different resources on the network that I want accessible from links on my index page. I set these to ports 81 and 82. On my index page, I link ...
0
votes
2
answers
3k
views
Nagios Disable service check if host unreachable
When I've declared the host, I specified a command to check if my host is alive (simple ping) :
hostgroups hostgroup-WIN
check_interval 1
retry_interval 1
...
0
votes
2
answers
1k
views
dig and host command return different SOA
So I found another post saying that host and dig are essentially the same except host is a more user friendly. For the most part this seems to be true however I came across this when trying to find ...
4
votes
1
answer
2k
views
CentOS virtual host Server DNS could not be found
I want to deploy my project in virtual host in CentOS running server. I have this
<Directory />
#change value of next line from none to all
AllowOverride none
Require all denied
</...
2
votes
2
answers
294
views
Why is the 'host' command returning different results when attaching "http://" to domain
Today I was shocked when checking where the staging domain of my website was actually pointing to. I was assuming by some sloppy configuration of either the domain or our company network, my stage-...
0
votes
1
answer
228
views
File is uploaded to my server by someone [duplicate]
I keep getting a file called "wp-sil.php" uploaded to my one specific folder.
When i copy the file to my desktop so I can examine it, it removes itself.
When I open the url sting live on my website, ...
4
votes
1
answer
22k
views
Docker - Timezones in containers not same as on host
In all my running docker containers the containers system time is set to UTC whereas on my host (debian) its CEST.
Why dont they sync automaticly? How do i make them set the right time when bringing ...
-1
votes
1
answer
147
views
Is it okay if the total memory allocated to all VMs exceeds the capacity of the physical memory
I do not know how memory allocation works on VMs so I get confused by this.
My host has a total of 64GB RAM. However, upon calculating all my VMs inside, I have already assigned 90GB RAM in total. ...
1
vote
2
answers
497
views
How to set NS for second server?
I have a domain: example.com and have a server with IP 21.1.1.1
I set vanity/private/child nameservers for example.com as below:
ns1.example.com with IP 21.1.1.1
and
ns2.example.com with IP 21.1.1.1
...
1
vote
1
answer
430
views
Is there a way to get the host of an SSH request in an SSH server? [duplicate]
I'm writing a custom SSH server. Whenever I connect to it via ssh user@subdomain.example.com, I need to know the value of the subdomain.
Right now I can only get remote and local IP addresses.
-1
votes
1
answer
2k
views
Powershell replace host file of remote machines
We have a partner site that must be accessible only if we add the entry for it in the host files of the computers we need to access it.
How can we update the host files or the workstations via ...
2
votes
0
answers
2k
views
sendmail localhost host name lookup failure
I am starting to see a certain type of email that is causing problems for our users. I am running sendmail on Fedora with mimedefang-filter. When this certain type of spam comes in with random ...