this post was submitted on 10 Jan 2024
32 points (84.8% liked)

Selfhosted

38746 readers
966 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
 

In search for free domain I got IPQuick. It gives a random domain for any IP4&6. I know not reliable for commercial use but I just want a domain for nextcloud,fediverse and mail.

Questions 1.Is not IP keeps changing in short time will I need to Keep generating domains? 2.Any one using it?

top 41 comments
sorted by: hot top controversial new old
[–] Nyfure@kbin.social 47 points 7 months ago (1 children)

Just pay the few dollars per year and have a stable and reputable domain.
Certainly for fediverse i'd want a stable domain, these are usually hard to migrate.

[–] Kit@lemmy.blahaj.zone 11 points 7 months ago (3 children)

Why not just pay $2/yr for a domain on Name Cheap? They have a dynamic DNS solution.

[–] itsaj26744@programming.dev 16 points 7 months ago (2 children)

Because I am school student (16yr) from INDIA. Here u have to give record of each penny to parents and If say them that I just want a domain for self hosting my personal stuff I will not be able to say something else.

[–] onlinepersona@programming.dev 15 points 7 months ago (2 children)

I was where you are too and 2$/month or even per year seemed crazy to me if I could get it for free

If you're at home and want to point to your home IP, but it constantly changes, the easiest is Dynamic DNS.

You can find more.

If you have a stable IP, there also free top level domains .TK / .ML / .GA / .CF / .GQ over at https://www.freenom.com/ . Their frontend is down sometimes, but once you have a domain and are point it to an IP, you should be dandy.

Good luck :)

CC BY-NC-SA 4.0

[–] lud@lemm.ee 6 points 7 months ago* (last edited 7 months ago)

I like duckdns for DDNS

It's completely free.

[–] itsaj26744@programming.dev 1 points 7 months ago (2 children)

Thnx, Btw I use a Cellular data (and sometimes wifi of neighbors.) How to know My IP remains same or keep changing?

[–] hexagonwin@lemmy.sdf.org 1 points 7 months ago

Not sure which ports are required for your usage but maybe cloudflared would work? It works on the free tier as well, you can install cloudflared on your linux/windows server (no BSD support afaik).

Freenom's domains are pretty unstable, they lost management for .ga domains last year and they often claim others' free domain when they have high usage.

though if you have unstable network I won't suggest self hosting fediverse stuff.

[–] onlinepersona@programming.dev 0 points 7 months ago

Check https://whatismyipaddress.com/ to see your IP address once you're connected to either network, but with a high likelihood, it's almost certainly different IPs. In that case, Dynamic DNS is probably best.

But if you're using your neighbor's wifi, I doubt there's a way for you to host stuff unless you have access to their routers, can open ports 80 (HTTP) and 443 (HTTPS), and forward them to your server. It's best to use hardware you control (including the router).

CC BY-NC-SA 4.0

[–] tapdattl@lemmy.world 3 points 7 months ago

Can you make the domain somehow personalized to you so you can say its for an online resume to further your education and employability? If you happen to host other personal stuff that won't cost you anything extra, just make sure you have a fancy looking CV at the root.

[–] rar@discuss.online 6 points 7 months ago (1 children)

Be careful OP that after first year you have to pay the 'renew' price, which is generally higher than 'register' price. A lot of cheap domain offers use that trick expecting users to become attached to their domains.

[–] Kit@lemmy.blahaj.zone 2 points 7 months ago (1 children)

My domain has been consistently $2 for four years now.

[–] rar@discuss.online 2 points 7 months ago (1 children)

Info please? All I've seen were offers around ~10 usd minimum for renewal.

[–] Kit@lemmy.blahaj.zone 3 points 7 months ago (1 children)

I don't do anything special, I just have a really stupid domain name that no one else would want. I don't use autopay so maybe that helps.

[–] xhenon@lemmy.world 2 points 7 months ago (1 children)

Which provider are you using to have the domain so cheap?

[–] Kit@lemmy.blahaj.zone 2 points 7 months ago
[–] rodbiren@midwest.social 4 points 7 months ago

Had really good experience with this option. Namecheap seems quite reasonable. Also, self hosting on other's domain can cause a lot of issues as you try creating enough paths for everything. I have found subdomain routing to work much better as a lot of applications get sad when their host url is something like blarg.com/gitea or something.

[–] Kuinox@lemmy.world 7 points 7 months ago* (last edited 7 months ago) (1 children)

I recommend duckdns instead, which is more well known in the DIY community. It's also a dyndns like other told you to use.

[–] itsaj26744@programming.dev 0 points 7 months ago (1 children)

Will DDNS will be sufficient to host a fediverse server (I mean will other sites federate with it)

[–] possiblylinux127@lemmy.zip 1 points 7 months ago* (last edited 7 months ago) (1 children)

I don't want to be rude but if you can't afford a domain you probably shouldn't be hosting a fediverse server.

Honestly do you even need to expose services to the internet? Internet exposure is dangerous and is not necessary for 95% of things. You can use a mesh VPN like netbird or Tailscale if you need remote access.

This isn't me trying to offend you I just think it would be wise to reduce the scope of you projects.

[–] itsaj26744@programming.dev 1 points 7 months ago

Hmm. Got it man,Thanks!!

[–] NaibofTabr@infosec.pub 7 points 7 months ago (1 children)
  1. Assuming that you mean that you are using the domain name to point to services which are at a residential, dynamic IP address, you will need to set up a Dynamic DNS service.

  2. If a product is free, you're the product.

[–] tapdattl@lemmy.world 1 points 7 months ago (1 children)

While I normally agree on #2, it doesnt really apply to Tailscale. Tailscale isn't completely free, they have a free tier to generate business but it's limited to 3 users per tailnet. Also its cryptographically impossible for them to snoop on your traffic.

[–] NaibofTabr@infosec.pub 2 points 7 months ago

I was referring to OP's use of IPQuick. This isn't a service I'm familiar with and it doesn't seem to be affiliated with any organization that I'm familiar with either.

[–] Strit@lemmy.linuxuserspace.show 6 points 7 months ago (1 children)
  1. I would assume you'd need to keep updating the DNS record to match the IP you have.
  2. I'm not. Nothing like that is completely free. I wonder how they pay for the DNS...
[–] itsaj26744@programming.dev -2 points 7 months ago (1 children)

Did not got what ur saying in 1

[–] Strit@lemmy.linuxuserspace.show 0 points 7 months ago (1 children)

In a normal domain/DNS scenario, you need to make sure your domain points to the correct IP. Most registrars have websites where you can manage which domain points to which domain in the DNS records.

[–] itsaj26744@programming.dev -3 points 7 months ago

What is difference in domain name and DDND

[–] Decronym@lemmy.decronym.xyz 5 points 7 months ago* (last edited 7 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CF CloudFlare
DNS Domain Name Service/System
Git Popular version control system, primarily for code
HTTP Hypertext Transfer Protocol, the Web
HTTPS HTTP over SSL
IP Internet Protocol
NAT Network Address Translation
SSL Secure Sockets Layer, for transparent encryption
TLS Transport Layer Security, supersedes SSL
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

10 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.

[Thread #419 for this sub, first seen 10th Jan 2024, 11:15] [FAQ] [Full list] [Contact] [Source code]

[–] lemmyvore@feddit.nl 5 points 7 months ago* (last edited 7 months ago)

I think you can get a free subdomain and dynamic DNS service at https://desec.io, with this you should be able to keep the domain updated with your IP and point it at your home server. But you need to have a public IP from your ISP and not to be behind NAT.

Anither option is to use a Tailscale Funnel. You will have to use a .ts.net subdomain with them and they terminate TLS and re-encrypt for you. On the other hand it's completely free, you get NAT traversal, an encrypted tunnel, and you don't have to maintain the IP even if it's dynamic.

[–] Engywuck@lemm.ee 4 points 7 months ago* (last edited 7 months ago) (3 children)
  1. Check out afraid.org and learn how to set up DDNS.
  2. I've been using afraid.org for a long time with no issues. I don't know IPQuick.
  3. Real domains can be REALLY cheap if you don't need something fancy. Just go to https://tld-list.com/ and sort for "cheapest renewal".
[–] Boofdev@lemmy.world 5 points 7 months ago (1 children)

You can also get a free domain at eu.org

[–] TCB13@lemmy.world 1 points 7 months ago

Okay that's interesting.

[–] TCB13@lemmy.world 4 points 7 months ago

afraid.org +1

[–] itsaj26744@programming.dev 0 points 7 months ago (1 children)

Will I be able to host Email (I have server).

Btw I a 11th class student from Middle Class Indian family.So cheap should be equal to free 😅😆

[–] Engywuck@lemm.ee -1 points 7 months ago (1 children)

Not an expert, but AFAICT email self hosting is not considered a good idea, as the maintenance of an email server requires a lot of work. An alternative could be using Cloudflare for the DNS and set up email routing (for free).

[–] itsaj26744@programming.dev 0 points 7 months ago

Okay not hosting mail bt I wanna host friendica.

[–] sag@lemm.ee 1 points 7 months ago (1 children)

https://freedomain.directory You can use some free subdomain services I think. Also I can feel you bud because I am also a student(11th)

[–] itsaj26744@programming.dev 1 points 7 months ago (1 children)
[–] sag@lemm.ee 1 points 7 months ago
[–] possiblylinux127@lemmy.zip 1 points 7 months ago* (last edited 7 months ago)

Don't do this, this is a seriously bad idea on multiple fronts. Buy a domain that's reasonably priced and you will be much better off. (gen.xyz is cheap)

What I have in my setup is a VPS that routes traffic into a separate network that has all my services in it. This way I don't need to expose my home to the public Internet