4
submitted 1 year ago* (last edited 1 year ago) by Kalcifer@lemmy.world to c/selfhosted@lemmy.world

Do you need a domain name if you are hosting a Lemmy instance, or will it work fine with just an ip-address + port (e.g. <username>@<ip-address>:<port>)?

top 11 comments
sorted by: hot top controversial new old
[-] Max_P@lemmy.max-p.me 2 points 1 year ago

It requires an HTTPS connection, and certificates can only be obtained for domain names. So yes, pretty much.

Also consider than IPs can change, even if you're using a hosting provider. Domain names makes changing the IP much easier.

Domain names can be obtained for as cheap as $3/year for the xyz TLD. If you can't pay for anything, there's also free services that can let you get a subdomain, like noip.com, afraid.org, azote.org.

[-] idle@158436977.xyz 1 points 1 year ago

Also if you dont mind numbers .xyz domains can be like $1 a year. It has to be only numbers and i think at least 9 digits.

[-] happy_saw@lemmy.world 2 points 1 year ago

Sorry but do you mean that .xyz domains only allow for a numbers only domain name? Because I don't think that's true.

[-] idle@158436977.xyz 4 points 1 year ago

No i mean if you want a super cheap .xyz domain, its very cheap if you choose a domain that is digits only. For example my lemmy domain is 158436977.xyz. its 89 cents a year.

You can certainly have xyz domains that are words just like any other.

[-] happy_saw@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Oh, that is actually a good idea if a cheap domain is wanted.

[-] original_ish_name@latte.isnot.coffee 1 points 1 year ago* (last edited 1 year ago)

What name registrar would you recommend?

EDIT: found one for 0.85 dollars on namecheap

EDIT EDIT: for some reason its labeled as a "premium domain" :P

[-] idle@158436977.xyz 1 points 1 year ago

Namecheap is what I use ya. They are also really great if you have some internal services and want just a cheap domain to get SSL certs from LetEncrypt. All my internal traffic is SSL now because why not, its 85 cents a year. And no dealing with self-signed certs.

[-] dustojnikhummer@lemmy.world 0 points 1 year ago

I mean nothing prevents you from using a self signed certificate

[-] bezerker03@lemmy.bezzie.world 0 points 1 year ago

Is imagine the rest of the fediverse will refuse to connect tho.

[-] dustojnikhummer@lemmy.world 0 points 1 year ago

But wouldn't that be the certificate of the other instance, not your local one?

[-] bezerker03@lemmy.bezzie.world 1 points 1 year ago

As others mentioned other things need to connect to your instance so valid ssl matters

load more comments
view more: next ›
this post was submitted on 11 Jul 2023
4 points (100.0% liked)

Selfhosted

40198 readers
632 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