Replying to Avatar ChipTuner

Okay, lets talk a few things. Ill try to take it easy to start with.

- You are trying to use nginx as a reverse proxy in front of your haven relay correct?

- You are wanting to issue a new SSL certificate for the new subdomain?

- You are using certbot with the nginx plugin (nginx mode) to issue a new cert using the defaults?

So tell me.

- Are you on ubuntu 24.04 or later?

- Did you install the repository for nginx or use the default apt (canonical ubuntu repos)?

A few things are possible.

- Certbot and nginx are horribly outdated depending on your versions

- Your A record has not propagated to the servers that certbot (letsencrypt) are using to resolve your domain

- Your not using the correct plugin when stepping through the guide

- Your firewall or other security related things might be blocking letsencrypt server's traffic

I would

1. use a dns resolution tool (your dns provider might have a link to one) to ensure your A record has propagated throughout the world, it will take some time for all dns servers to find it

2. Ensure your are using the nginx plugin when using certbot (not acme, or other challenge based)

3. [bonus] Consider adding the nginx repository from the nginx website and install the latest stable version directly from nginx. Just add the repo and run apt update and it should offer you an upgrade

4. [bonus] Consider using a CNAME to your main domain if it's on the same IP instead of an A record. So it's aliased and less likely to mess you up in the future.

Hi! Appreciate your reply.

"- You are trying to use nginx as a reverse proxy in front of your @ relay correct?

Correct, so i can use the wss://relays / https for blossom in my client

- You are wanting to issue a new SSL certificate for the new subdomain?

Yes

- You are using certbot with the nginx plugin (nginx mode) to issue a new cert using the defaults?

Yes, i believe so

- Are you on ubuntu 24.04 or later?

Yes

- Did you install the repository for nginx or use the default apt (canonical ubuntu repos)?

Unsure exactly. I followed instructions here:

https://github.com/bitvora/haven/blob/master/docs/build.md

I bought the domain last night, does it take a few days to make it out to the greater web?

Reply to this note

Please Login to reply.

Discussion

> https://meet.google.com/yvr-mbth-xdo

The domain no. DNS Yes. It can take a few minutes to hours for DNS changes to propagate. Just depends on when you configured the record to when you ran certbot. If you ran it again now id expect it to be fine.

This tool works fine for checking that

https://dnschecker.org/

I would highly recommend following the instructions here to install nginx. It should be fine if you already have nginx installed.

https://nginx.org/en/linux_packages.html#Ubuntu

Final thing. I assume you are using an IPv4 address? v6 are becoming more common for residential so I'm just checking. It should look something like this: 56.36.9.10 and not like this 2001:0db8:85a3:0000:0000:8a2e:0370:7334

You cannot put ipv6 addresses into an A record is why I ask. Your dns provider shouldn't let you, but wanted to make sure.