this post was submitted on 18 Mar 2026
56 points (92.4% liked)

Selfhosted

56958 readers
386 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

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!

(page 2) 17 comments
sorted by: hot top controversial new old
[–] mrnobody@reddthat.com 2 points 2 days ago (4 children)

I'm late to the party, but could everyone answer me this- how often does you're public IP actually change with any of your ISPs??

With the numerous companies I've used, the ONLY time I've ever seen my IP change is getting a new modem through, say, Comcast or whoever. It goes by MAC address, and if you use Comcast and then set to bridge mode and use your own device, that's a new MAC so you'd get a new public IP. Swap ISPs obviously a new IP.

I've NEVER randomly received a new IP when using the same equipment consistently, so I'm not sure why everyone's so worried about dynamic DNS stuff.. Maybe outside the US is different? I've lived in a few States and it's always the same. If you make a hardware change, just note you should also double check your IP and update it, that's all.

[–] Appoxo@lemmy.dbzer0.com 1 points 2 days ago (1 children)

Daily around 3 or 4 am (I can sort of control it by doing it within a timeframe.)

[–] mrnobody@reddthat.com 1 points 2 days ago (1 children)

Really??? That's insane it resets so much! Who is your ISP?

[–] Appoxo@lemmy.dbzer0.com 1 points 2 days ago

This is usual in Germanx on DSL.

load more comments (3 replies)
[–] Nikki@lemmy.blahaj.zone 2 points 2 days ago

i have a little program for dynamic dns running in docker that checks every few seconds for an IP change and swaps my DNS records if it gets rerolled.

works well on my home network, I can use my domain for all my private services local and remote through wireguard :)

[–] tburkhol@lemmy.world 2 points 2 days ago

If you only need it to be accessible inside your home, then you just need to run your own DNS. Have your dhcp point at your DNS and your DNS declare itself the master for your domain.

To get full functionality, you'll probably want to have your registrar point to the public IP you get from your ISP as the domain's authoritative name server.You should be able to script it to update the registrar when your ISP changes your IP, but that usually happens infrequently enough to do manually. Obviously can't do that if you're behind CGNAT.

To get Lets Encrypt certificates, you can do the DNS challenge. If your ISP gives you a (even inconsistent) public IP, you can do fancy 'views' with your selfhosted DNS, where it responds with private IPs inside your network and your ISP-given IP outside your network. I have certbot set up to expose my DNS & web server just before it starts its renewal process, then close the firewall after. Once you have the certificate, you can move it to where ever it will actually be used.

[–] rosco385@lemmy.wtf 2 points 2 days ago
[–] brickfrog@lemmy.dbzer0.com 1 points 2 days ago

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

Neither of those are requirements. Just buy a domain at a registrar that allows you to dynamically update an IP address with a domain you have there. Look into DDNS update scripts and/or your own internet router, many routers have that feature built-in already.

[–] frongt@lemmy.zip 1 points 2 days ago

Yes it's possible. You can buy a domain name and then do literally nothing else if you want.

If it's just for LAN use, you don't even need to buy a domain name. You can use anything under the home.arpa, test, or internal TLDs. https://en.wikipedia.org/wiki/Special-use_domain_name

load more comments
view more: ‹ prev next ›