this post was submitted on 22 Apr 2024
13 points (88.2% liked)

Selfhosted

40006 readers
678 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 think i have a stupid question but i couldn't find answer to it so far :( When i want to reach a service that i host on my own server at home from the local network at home, is using a public domain effective way to do it or should i always use server's IP when configuring something inside LAN? Is my traffic routed through the internet somehow when using domain even in LAN or does my router know to not do this?

you are viewing a single comment's thread
view the rest of the comments
[–] catloaf@lemm.ee 1 points 6 months ago (1 children)

If by "router" you mean the all-in-one box, yes. But even if you don't fully control the device, you can usually change DHCP DNS so that LAN clients will use your local DNS servers.

[–] TCB13@lemmy.world 2 points 6 months ago (1 children)

But even if you don’t fully control the device, you can usually change DHCP DNS so that LAN clients will use your local DNS servers.

Not all ISPs allow this. Mine for instance doesn't allow changing any LAN DHCP setting... fortunately they have an option to configure one of the ports as "bridge" and you'll get a public IP there so I can just plug my own equipment and do whatever I want.

[–] BearOfaTime@lemm.ee 0 points 6 months ago

Not all isps allow this.

Hence the "usually" in their statement.