this post was submitted on 18 Mar 2026
36 points (89.1% liked)

Selfhosted

56957 readers
1552 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] foster@lemmy.hangdaan.com 2 points 14 hours ago* (last edited 14 hours ago) (1 children)

You do not need a static IP address or dynamic DNS if your domain registrar provides a REST API. My current registrar is Porkbun and they have a REST API. I simply have a cron job that regularly checks if my public IP[^1] differs from the domain's A-record. If it does, it updates the record to match the public IP address using their API.

[^1]: I use Porkbun's ping endpoint to obtain my public IP. There are also alternatives such as Ipify.

[–] JetpackJackson@feddit.org 1 points 14 hours ago

TIL porkbun can do that. Would that help with hosting behind a CGNAT?