Hi, all. So I am losing my mind over here. I recently paid for a domain through Njalla. I can route my email through it without any trouble, but then I thought I might like to self-host a personal website on it. I am using dietpi x86-64 on my homelab, a system on which I successfully host Jellyfin and Navidrome using Tailscale for remote access. I installed Wordpress and everything works just fine. The thing is, the moment I switch the site to an external URL, I simply cannot access it. I have added the A Records on Njalla for the domain to point at my server’s public IP. I have opened ports 80 and 443 through UFW on the server, and pointed them to my the server’s internal IP through the router. I have tried pointing Certbot at the URL, and it fails, returning the error that it couldn’t fetch a file from /.well-known/acme-challenge (although it does show that the URL is pointing at the correct IP). I have changed my router settings to assign a static internal IP to the server.
I am at a loss. I’m sure it’s something really easy and simple that I’m missing, but I cannot find what it is for the life of me. Thank you in advance for any tips or advice.


So the Dietpi OS has a bunch of pre-configured packages to install. When I installed Wordpress, it set up an Apache server. I’m not at my computer right now, but I’ll look for the config file when I get home. And I am able to access the site on my local network if I point it to my Tailscale IP, just not if I point it to the server’s public IP or the domain (which is also pointing to the public IP).