I’m not trying to sound like a dick but having your own domain name isnt something most people have
I got a free subdomain from freedns.afraid.org and they have a script you can just add to your crontab to periodically check your IP and to update their DNS listing if your ISP changes it
You can easily request a free domain through services like duckdns.org. Might not be the prettiest domain name, but for these purposes it’s fine.
Setting up proper zraid and dealing with Linux to get the server up was much harder than using nginx and buying a $4/yr domain.