Hey everyone, asking here since I’ve been trying (and failing) at the numerous guides online. The end goal is so that I can have proper Let’s Encrypt certs for my self hosted servers to include VaultWarden (which will not work with self-signed or http).
So I am trying to setup my Porkbun domain with my Opnsense nginx plugin in order to resolve the address (such as navidrome.example.com to my local server’s navidrome instance @ 192.168.1.99:4533). I attempted this guide here as well as trying to configure a separate nginx on the server itself. I haven’t had much luck with these guides either.
Any address outside of router.example.com results in a connection failure. Including when I tried to route everything like navi.router.example.com. This is with and without wildcards in the A Record entries on Porkbun’s DNS control panel. I’ve tried *.example.com, *.router.example.com, navidrome.example.com, navidrome.router.example.com.
Sorry if this seems like a simple problem or if I am missing a massive step, I am complete newbie at self-hosting/networking.
First off - you don’t explicitly say so I just want to double check - you’re not using example.com as the actually domain correct?
If not the next thing to do would be to check out what DNS is doing. You can use the
dig
command to see what IP address is being returned for the domains you’re trying to hit.dig +trace
may be useful as well.Nope, just substituted out my domain for the post.
Ran dig +trace and my domain and it returned a 100.x.x.x#53 public domain address.
Is that expected? Otherwise check to make sure DNS settings for the domain are correct (eg ns records
dig NS example.com
IIRC).