I've been thinking about finally getting myself a proper domain for my server, but a friend told me that to get one I either need a VPS with a public ip (which just takes all the fun out of selfhosting) or purchase a static ip, which is beyond what I'm willing to spend for a hobby. Do I have any good options or should I just let it go?

Also, if this isn't the correct community for this, I'd appreciate being pointed to the right one, thank you

Update: after reading the comments the two main options I'm considering now are either a cheap VPS to use as proxy for my network via wireguard, or DynamicDNS. I'll see if I can figure out the rest from here, thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 7 months ago

It is very much possible to have a dynamic IP and a usable domain.

Both Cloudflare and desec.io (for example) have APIs that you can hit everytime your public IP changes.

I have a script that checks every minute whether my public IP has changed from the last check, and if it has, an API call will be sent.

With a scheme like this, your downtime will be minimal, if ever even noticed.

  • source