this post was submitted on 26 Dec 2023
37 points (91.1% liked)

Selfhosted

40296 readers
311 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 1 year ago
MODERATORS
 

I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?

Also, do freenom and .tk just not allow new domains to be registered anymore?

all 20 comments
sorted by: hot top controversial new old
[–] HKayn@dormi.zone 51 points 11 months ago

Your instance will still exist, and federation should continue as normal if you manage to reclaim the original domain.

If you have to switch to a new one, however, federation will be very awkward. Other instances will essentially treat you as a brand-new instance, and mirrors of old content will be "orphaned" and no longer sync.

[–] lemann@lemmy.dbzer0.com 14 points 11 months ago

When your domain is close to running out, you should either get an email from your registrar asking you to renew, or a payment notification telling you that your domain will be renewed for whatever price automatically.

If the payment fails, the domain will be temporarily suspended. There is a grace period where nobody can buy that domain, allowing you to settle the missed payment. If you do not settle the payment, the domain will be put back up for sale

None of this affects whatever services you're running on your Pi, people just won't be able to connect to it if your domain is suspended.

I'd suggest looking into SSL certificates (Letsencrypt is free) as well as Cloudflare for masking your Pi (your home) IP address from users of your instance - do note this has privacy implications: cloudflare becomes a MITM for your site

Freenom is being sued by Meta (Facebook) at the moment for supposedly not dealing with spam domains. I would not recommend using a Freenom domain if/when they reopen registrations: FMHY had their old Freenom lemmy instance domain seized by Mali's government

[–] redcalcium@lemmy.institute 4 points 11 months ago (1 children)

I don't think you can change your lemmy instance's domain yet. Afaik there is no official way to do it. FMHY lost their domain (they are using a free domain and lost it) and was attempting to switch to a new domain for their instance and developing a tool to migrate to a new domain, but somehow decided to start fresh and discard their old data instead. No idea what happen with the migration tool they were working on (is it actually working? did they actually released the code?), so save yourself some headache and make sure to never lost your domain, which means don't use free domain because that domain isn't actually yours and can be yanked without any notice.

[–] russjr08@bitforged.space 5 points 11 months ago (1 children)

Yeah, AFAIK ActivityPub itself heavily relies on the domain being part of your identity - so its not really possible to change the domain on any of them, along with other federation implementations such as Matrix.

This is why while Mastodon allows for profile transfers, it doesn't transfer your post content - it simply just sends a signal to your followers to unfollow your old account and follow your new one. The actual content itself is intrinsically tied to your identity on the old domain.

[–] CrimeDad@lemmy.crimedad.work 4 points 11 months ago* (last edited 11 months ago) (1 children)

That seems like an oversight. ActivityPub should rely on some sort of certificate or cryptographic signature instead of a domain which might have to occasionally change.

[–] russjr08@bitforged.space 3 points 11 months ago

ActivityPub does use cryptographic keys for Actors ("users" in this case) - so even in theory if you were to destroy your instance and then set it up on the same domain and recreate the user, things would be quite broken still... But unfortunately it still does rely on the domain name itself, so I agree.

I think the problem is, without the domain name, there is no way for you to lookup who @russjr08 would be, or where to send data to them. The domain effectively acts as a mailing address (a well suited analogy considering that ActivityPub also uses inboxes/outboxes) so that Instance A always knows that User B can be found on Instance B.

I doubt its an impossible challenge to solve, but probably quite a difficult one I'm sure.

[–] axum@kbin.social 4 points 11 months ago

I've had no issues generating random domains on freenom, not sure why you'd think they stopped

[–] altima_neo@lemmy.zip 2 points 11 months ago

Youll have to access it by its IP I suppose.

[–] SmashingSquid@notyour.rodeo 1 points 11 months ago (1 children)

I would spend the money on a domain. There’s lots of new TLDs to choose from and some are cheap. A .stream domain is $3.99 at namesilo as is .link.

[–] cmnybo@discuss.tchncs.de 12 points 11 months ago (1 children)

The .stream domains renew at almost twice the cost of a .com after the first year. Most of the cheap domains renew at a much higher price.

[–] SmashingSquid@notyour.rodeo 2 points 11 months ago

I was going by sorting tldlist by renewal price but I see now the price doesn’t match. .link is cheap to renew.

[–] LinuxSBC@lemm.ee 1 points 11 months ago

.ovh domains are like $2/year, if that helps.

[–] CmdrShepard42@lemm.ee 1 points 11 months ago

Im-the-captain-now-meme.jpg

[–] Kolanaki@yiffit.net 0 points 11 months ago (1 children)

Nothing aside from losing any traffic if people don't know the IP address directly to the server. All a domain does is redirect traffic to the website with an easy to remember name.

[–] 000@fuck.markets 11 points 11 months ago

The domain is pretty important to Lemmy. If you lose control of it, your instance is effectively dead since the federation will not recognize your traffic until you get the domain back. There's no way to change the domain of an instance so you'd have to start from scratch.

[–] tagginator@utter.online -2 points 11 months ago

New Lemmy Post: What happens to my instance if my domain expires? (https://lemmy.world/post/9977750)
Tagging: #SelfHosted

(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)

I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md