My domain is: saulofelipe.tech and server.saulofelipe.tech
I ran this command: sudo certbot certificates
It produced this output:
Found the following certs:
Certificate Name: saulofelipe.tech
Serial Number: 3e819a37302466111128ab24cd651c2fc71
Key Type: RSA
Domains: saulofelipe.tech
Expiry Date: 2024-04-03 02:34:32+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/saulofelipe.tech/fullchain.pem
Private Key Path: /etc/letsencrypt/live/saulofelipe.tech/privkey.pem
Certificate Name: server.saulofelipe.tech
Serial Number: 495c726470919bab0119b68dcaf06c2877d
Key Type: RSA
Domains: server.saulofelipe.tech
Expiry Date: 2024-04-03 02:37:36+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/server.saulofelipe.tech/fullchain.pem
Private Key Path: /etc/letsencrypt/live/server.saulofelipe.tech/privkey.pem
My web server is (include version): nginx
The operating system my web server runs on is (include version): ubuntu 22
My hosting provider, if applicable, is: hostinger
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.21.0
I will describe my problem as briefly as possible:
My main domain (saulofelipe.tech) is running a web application through vercel, that is, I have a nameserver of type "A" name "@" pointing to the vercel server and apparently everything works smoothly. However, after generating a certificate for my "server" subdomain it doesn't work, it's as if the certificate was invalid, I've already tried renewing it and the problem persists, if necessary, I can also put the nginx configuration file here, the idea is that this subdomain points to a server that is running on AWS EC2. Every help is welcome.
