Latest Server related questions

Score: 0
Matt Komarnicki avatar
Google is absolutely unable to see my domain's DNS records
bo flag

My flow is the same for all of my domains, yet there is a single one that I cannot get to work.

I point all of my domains to external DNS server which is Cloudflare where I manage all of the records (A, MX for Google Workspace, TXT, CNAME etc).

I have some issues with ijgimperial.com where some people (not all) cannot send me e-mails. Google support told me there are no Name Servers specified. I' ...

Score: 0
Henrique Milli avatar
nginx 4xx when proxying pubblic websites
in flag

Goal: I wish to build a simple reverse proxy with nginx that can takes any public domain as an input and outputs the same website just fully proxied, similar to this website.

Problem: Most websites will return a forbidden or some other 4xx or 5xx error. I currently suspect it has something to do with the headers, specially the host header. I noticed that removing it, causes a 301 to the original web ...

Score: 0
margie avatar
Postfix can send, but not receive external email with configuration in CentOS 8
us flag

I have two problems, and I believe they are somewhat related. First, I can receive email from domains in my local server in Roundcube and Horde, but not in Thunderbird or Mac Mail. Secondly, I can't receive external email anywhere, and this is the main problem that concerns me. When I send a message, I get a flash on the screen saying the message is being sent, and I get NO error message. But, the email ...

Score: 0
Dario Corno avatar
cURL suddenly gives Connection Refused to an Ubuntu Server
us flag

I have a custom wordpress "client" plugin that makes a cURL call to a Node app on an Ubuntu server.

The call works perfectly from every WP installation, except for one where everything worked fine until yesterday then the following cURL call suddenly started to return a

Failed to connect to x.x.x.x port 3344 after 1040 ms: Connection refused.

    $curl = curl_init();

    curl_setopt_array($curl, array(
 ...
Score: 0
Can I send emails using the php mail function with SendGrid smtp relay?
kp flag

I have been trying to send emails from my app using the PHP mail function. I am currently hosted at DigitalOcean and the only way for me to send out emails is with services like SendGrid.

I have done everything according to their integration guide, but I still do not know how it works.

Can I send emails using the PHP mail() function?

Here is what I have done so far ...

  1. Update the CNAME records to ...
Score: 0
AGamePlayer avatar
What does "root html" mean in nginx config?
sb flag

I saw these lines:

  location = /config.json {
    return 404;
  }

  location = /config.js {
    return 404;
  }

  location /.git {
    return 404;
  }


  location = /50x.html {
    root   html;
  }

I understand the first 3 rules are to forbid users to access the sensitive files but what does the last rule mean? What is root html ?

I am new to nginx, can somebody explain?

nginx -V output:

➜  ~  ...
Score: 1
cwbarber avatar
How Does AWS Implement SrcDestCheck (Source / Destination Checks)
ru flag

The documentation for setting up NAT Instances calls out that you must disable Source / Destination Checks on your NAT Instance for it to work. From https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#EIP_Disable_SrcDestCheck

Each EC2 instance performs source/destination checks by default. This means that the instance must be the source or destination of any traffic it sends or rece ...

Score: 0
cypherphage avatar
Effect of Disabling AutoCertificateRollover in ADFS after new certificates have already been generated?
tn flag

New token-signing and token-decrypting certificates have been generated on my ADFS servers and are set as Secondary certificates. Right now, AutoCertificateRollover is set to true and CertificatePromotionThreshold is set to 5 days. If I disable AutoCertificateRollover now, would it stop the secondary certificates from being promoted to primary on the 5th day from today?

Score: 0
Google Compute Engine pricing programmatically from Google Billing Catalogue API
cn flag

I am trying to programmatically extract Google Compute Pricing. I use the "Catalog API" in the link below. https://cloud.google.com/billing/v1/how-tos/catalog-api.

I found that Google Cloud Calculator also refers to using the same API mentioned above to programmatically pull prices. But looking at the API response, I can't find information about the operating system and machine type in the json.

F ...

Score: 0
dranobob avatar
How to change the default infra container in Podman?
in flag

I am trying to use podman-compose to spin up an environment. The env is air gapped from the internet and uses a local docker registry to pull images.

The issue is when I run podman-compose up, it tries to create the initial infra container from the default image "k8s.gcr.io/pause" which is located on the internet.

I have pushed this image to our local registry, but I can't find how to tell podman to ...

Score: 0
How do I redirect URL while also changing source and destination IP address over HTTPS?
in flag

I have a SaaS service which exposes an URL (let's say (https://mylink.foo.com) that is only accessible from some whitelisted IPs. However we now need the aforementioned URL to be accessed by an audience outside those whitelisted IPs. I have thought of implementing another public cloud server as IaaS that acts as a pivot, changing source and destination IPs and redirecting the request to my SaaS provider  ...

Score: 0
JurajB avatar
Filtering results for date but getting system.type error
jp flag

I'm trying to filter certificates on my local machine and remove all created before 4/10/2021

PS C:\Users\juraj> $cert = Get-ChildItem Cert:\localMachine\My | Where-Object { $_.NotBefore -is [DateTime]::Today  }
Cannot convert value "14/10/2021 12:00:00 AM" to type "System.Type". Error: "Invalid cast from 'System.DateTime' to
'System.Type'."
At line:1 char:62
+ ... ocalMachine\My | Where-Object  ...
Score: 0
Gaia avatar
RKHUNTER: Whitelist Filetype
gn flag

I have over a million files of a certain type on each server and this causes rkhunter to take a very long time to execute the rkhunter --propupd --nolog triggered by APT_AUTOGEN=true (and other times propupd is requested)

There are a lot of different whitelist options in rkhunter. I would like for files of this type to be ignored (yes at the risk of having malware hide using the whitelisted file e ...

Score: 0
fooness avatar
Proxy/Route requests to subdomains to different local/wireguard IP addresses?
cn flag

We have a virtual machine with a public IPv4 address, to which our example.com and *.example.com domain points.

We have several distributed low-tech computers establishing a wireguard connection/tunnel with the publicly reachable virtual machine.

We want the virtual machine to serve a website on ports 80/443, accept ssh connections via port 22, and more.

We want the low-tech computers to be public ...

Score: 0
Leon A avatar
How to dynamically add CORS sites to Google Cloud App Engine Node API
cn flag

I am new to API deployment.

I have a Node Express API that has CORS enabled in the root app.js, for the API and a socket.io implementation:

var app = express();
app.use(cors({
   origin : ["http://localhost:8080", "http://localhost:8081"],
   credentials: true
}))

and

const httpServer = createServer(app);
const io = new Server(httpServer, { 
    cors: {
        origin: ["http://localhost:8080", "htt ...

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.