this post was submitted on 11 Oct 2024
15 points (85.7% liked)

Selfhosted

40670 readers
349 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.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I would like to scale back my hosting costs and migrate one (or a few) sites over to a machine that I host at home.

The bandwidth is more than enough to cover the traffic of these small sites.

The simplicity of IPv6 has attracted me to the idea of exposing that server over IPv6 for hosting, while my daily machines remain on the IPv4 side of the stack.

I don't care if this means that the sites are reachable by fewer visitors, as the traffic has never been huge.

Am I going down a rabbit hole that I will later regret? How would you do this right?

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 2 months ago (1 children)

If you want to do it right, try to get a static IP (you may need to get a business account). If your provider doesn't provide IPv6 to static IPs, go to some place like Hurricane Electric and get a free IPv6 range pointed to your IPv4 static address.

Alternatively, you might do a search for any DDNS services that provide IPv6 (I'm not sure if any do?), then that service will fllow your residential address when it changes. Either way I think you'll have some additional costs you need to weigh against your current hosting provider.

[–] [email protected] 3 points 2 months ago (1 children)

He could try DynV6 they allow V6 and are free

[–] [email protected] 2 points 2 months ago

Nice, I hadn't heard of this one!

[–] [email protected] 4 points 2 months ago (1 children)

You're going to be limited to what your upstream provider allows with regards to IPv6 traffic, if any at all. You'll probably need an 4-to-6 or 6-to-4 translation somewhere, and that's about it.

[–] [email protected] 1 points 2 months ago

Agree it's not that complicated Many ddns providers can update aaaa just as they do a records... Most isp should either be providing some range of native ipv6 addresses, or some kind of 4-to-6 translation. It's 2024 - we're beyond RFC 791 specs I find it helpful to deal with prefix delegation by providing a "token" for nmcli to use. Then the ddns script can locate your defined suffix and push it to to the host

[–] [email protected] 2 points 2 months ago

I’ve been doing this for the last 5 years using dynv6. Feel free to reach out if you need any help making it happen.

[–] [email protected] 2 points 2 months ago (1 children)

Why not just host on v4 and v6 from home?

[–] [email protected] 5 points 2 months ago

Sometimes you can't