Web server is down - Host Error code 521

Hello, just to preface this, I'm fairly new to working with custom domains for apps, so I have very little knowledge on what I'm doing. I have a NodeJS app on a VPS that is taking POST requests from Stripe on a path of my domain and then to a path of an open port of the server. From what I can tell, the server is working fine as I can send POST requests to the ip and it receives them. Now, the big issue is that my domain isn't resolving which is where Stripe is pointing meaning I'm not getting the actual events that I want to be getting. I have very little idea of what I'm doing, so I have no clue why is not resolving or how to fix my issue. Any thoughts?
8 Replies
Laudian
Laudian2mo ago
You'll need to share more info if we are to help, for example your domain.
G0Osey21
G0Osey21OP2mo ago
grubclub.shop
Laudian
Laudian2mo ago
Your server doesn't seem to be listening via HTTPS. Please start by changing your DNS-Record to DNS-Only and get that working first.
G0Osey21
G0Osey21OP2mo ago
Alright, that’s done
Laudian
Laudian2mo ago
You either don't have anything listening on port 443, or a firewall blocks connections.
G0Osey21
G0Osey21OP2mo ago
Hold on I might not be the smartest… Nope, that’s active Or maybe it wasn’t. It seems to be working now
Laudian
Laudian2mo ago
Yes, now something is listening on port 443.
G0Osey21
G0Osey21OP2mo ago
Have to use a different cert though I guess cause stripe won’t work I was using the Cloudflare origin server one

Did you find this page helpful?