Latest Server related questions

Score: 0
nicholaswmin avatar
White-labelling with SSL on Heroku
us flag

Our app runs on Heroku with a domain pointed to it at example.com.

We now want to offer a whitelabel solution to our users so companies can use our product under their own custom domain.

For example instead of https://example.com, they would access our product under their own domain, i.e https://bar.com.

What we currently do is the following:

  • Ask the user what domain they want to whitelabel under ( ...
Score: 0
How to hide existing Windows shares - step-by-step
dz flag

We have a few file shares that users access directly using shortcuts or maps. We're converting to DFS-R and will continue to use the same share stores for the most part. Once done, we'd like the shares to not be browseable and are considering the accepted approaches - such as using a "$" suffix on the sharenames.

Example: \server\sharename becomes \server\sharename$ That's my understanding.

If we sw ...

Score: 0
Linux - IP tunnel
ru flag

I have two machines on different subnet. Say one is 1.1.1.1/8 while the other is 2.2.2.2/8. The two are able to talk through a common router.

The 2.2.2.2 machine has an internal interface on a third local network 176.16.1.1/24. An application is listening on this interface. The router is not aware of the 176.16.x.x subnet.

On the 1.1.1.1 I want to be able to send data to the 176.16.1.1 interface.

Score: 0
Are there other Windows PE autorun locations apart from startnet.cmd?
jp flag

I'm trying to add some commands to a PE Windows that is booted from USB.

I found this: Windows PE autorun scripts, saying that the "autoexec.bat" equivalent can be found here:

\Windows\System32\startnet.cmd

When I add commands to startnet.cmd, they are however not executed.

I have also searched the Registry of this PE system, but it doesn't have any of the typical autorun entries either.

Also, there  ...

Score: 0
NGINX Is redirecting to localhost:3000
es flag

I'm using ruby on rails in a docker container running my website https://redrebelgames.com on port 3000. I'm trying to setup NGINX to redirect http:// traffic to https:// and redirect port 80 to port 3000. It's working if you go directly to the IP address: 143.244.156.208. It's even redirecting the traffic to port 80. However, some of the photos are not loading as seen below: enter image description here

And the domain itself i ...

Score: 0
Jatinder Singh avatar
kubeadm tool fail to initialize cluster when --advertise ip address is DNS Entry instead of actual IP address
sd flag

I'm initializing the cluster using kube-adm tool and its failing.The reason is when kube-api server comes up , it looks for configuration and in configuration we have set "--advertise-address" flag as DNS entry instead of actual IP.

Cluster gets initilized when we change this to IP address but use case is that we need to have DNS entry there. Any way out?

ubuntu@ac1poc-20210407164708-dbvault-master1:~ ...
Score: 0
ppenguin avatar
how to use ssh agent forwarding when loggin in to windows with bitvise WinSSHD?
tr flag

I need to login from a linux machine to a windows machine (running bitvise sshd) and forward my agent socket (i.e. ssh -A [email protected]).

"Normal" login works fine (either to PowerShell or bash (gitbash)), but apparently SSH_AUTH_SOCK is not being set.

What I want to achieve is use ssh (e.g. clone with ssh://git@...) on the winbox without copying my private key to the winbox.

Score: -1
Joep avatar
How to run Docker on an Azure Virtual Windows 10 machine
cn flag

I am provided a Azure Virtual Machine with GPU support (Standard NV6_Promo (6 vcpus, 56 GiB memory)). I want to run AutoML on this machine, which only runs on Linux. Their installation documentation suggests installing this on a Linux VM or via Docker. I tried using Docker on Windows but I'm running into problems using both the WSL2 backend and the Hyper-V backend.

This raised the question if it  ...

Score: 3
How to forward all incoming traffic to server A to server B and B returns it to A?
sd flag

Suppose I have two servers: A and B. On both I have installed WireGuard.

On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24.

Let's say server A's WireGuard is listening on port 4000 and server B's WireGuard is listening on port 5000.

I only want to forward all incoming traffic to server A on port 5000. There are other applications listening on another po ...

Score: 1
Dedup.sys 0x7E after inplace upgrade Server 2016 => 19
in flag

I've recently performed an in-place upgrade from Server 2016 => 2019 (non-domain).

2 of the drives connected has been configured with data deduplication (mostly VHDs for Hyper-V). Ever since the upgrade, attempting to access, reverse dedupe (start-dedupejob -type unoptimize) the system will crash with 0x07E dedup.sys

(0x0000007E (0xFFFFFFFFC0000094, 0xFFFFF80BE9E82F29, 0xFFFFA00F5D4BA3E8, 0xFFFFA ...

Score: 1
Identifying specific devices when using sensors in ubuntu
cn flag

I am running the sensors command in Ubuntu 20.04 to try and get a temperature reading for my NVME SSD drives. However, although I can see the drives I am not sure which one is which:

nvme-pci-2300
Adapter: PCI adapter
Composite:    +45.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

nvme-pci-6100
Adapter: PCI adapter
Composite:    +52.9°C  (low  = -273.1°C, high = +79. ...
Score: 1
Apache remains on PHP 7 while server versions is php 8
ug flag

I've just installed php 8 (following https://rpms.remirepo.net/wizard/) on my VPS running CentOS 7. While in the CLI it shows that PHP 8 is available, when I serve a webpage with phpinfo() it still shows php 7.

PHP 8.0.7 (cli) (built: Jun  1 2021 18:43:05) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.7, Copyright (c) Zend Technologies

Also when I check with composer it shows php 8 ...

Score: 0
ahmed meraj avatar
iptable rules for ACL rules between routers
cn flag

Assuming by default everything is allowed between routers. I would like to add iptable rules in "Router1" to implement ACL rules as shown in the diagram.

  • In the below image, client1 and client2 CAN establish a connection to client3 and client4.

  • client3 and client4 CANNOT establish a connection to client1 and client3.

enter image description here

In a similar way, I want to add rules in Router1, where:

  • client1 and client2 CAN ...
Score: 2
site2site wireguard with docker : routing problems
fr flag

Disclaimer: repost from stackoverflow: https://stackoverflow.com/questions/67917278/site2site-wireguard-with-docker-routing-problems

I am trying to have two containers, running on two RPI, act as a site-to-site VPN between Network 1 and Network 2.

With the setup below, I am able to ping from within the container each other network:

  • from docker container 1 I can ping an address 192.168.1.1
  • from docker con ...
Score: 0
Mike Keskinov avatar
OpenVidu/Kurento: Unable to create media pipeline for session
mz flag

Our OV 2.17.0 on premises (Ubuntu 18 server) works well for a while (a day or two), then stop working. I can create a new session, etc using REST, but any attempt to join newly created session failed with the server event “unable to create media pipeline for session XXX”. Restart the server helps. Then it works for another 2 days and everything repeats.

I also see that all old sessions stay i ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.