How do you guys set internal domains?

Say i dont want to type 192.168.1.100:8096 and want a url instead, say jellyfin.servername - how would I go about that? I don’t want it exposed online via reverse proxy. I don’t need certs. No port forwarding on the router.

How do I type ‘jellyfin.servername’ into a browser and being up the jellyfin dashboard?

@cwagner@lemmy.cwagner.me
link
fedilink
English
2
edit-2
1Y

deleted by creator

finn
link
fedilink
English
1
edit-2
1Y

I use pihole running on an esxi server for dns. In pihole you can create local dns records which is exactly what you’re trying to do. It’s very lightweight, you can run it on about anything.

You can also do something like this

asjmcguire
link
fedilink
11Y

PiHole as your DNS resolver. LocalDNS mapping whatever hostname you want to whatever IP you want.
Because I use Nginx Proxy Manager internally - then most of my hostname point to the Nginx IP address

Cold Hotman
link
fedilink
English
1
edit-2
1Y

aa

novarime
creator
link
fedilink
English
01Y

The host isn’t really the issue. It’s the container. How do I access the container with a name rather than number.

Cold Hotman
link
fedilink
English
1
edit-2
1Y

aa

@nychtelios@rlyeh.icu
link
fedilink
English
11Y

You can configure a local only DNS

Célia
link
fedilink
English
11Y

You can add an entry to your /etc/hosts file for the IP part, but this cannot remove the need to specify the port number as it is unrelated to the domain/IP

baduhai
link
fedilink
English
11Y

You’ll need a reverse proxy.

Lee
link
fedilink
11Y

If you have your own DNS server you can set a hostname there like ‘jellyfin.myserver’ and have that accessible from your internal network. If you want to do so on your PC you can edit your hosts file to add a custom entry. https://www.hostinger.com/tutorials/how-to-edit-hosts-file

jjakc
link
fedilink
01Y

Keep in mind you still need to specify the port with this method.

novarime
creator
link
fedilink
01Y

Yeah, how and where? In the docker compose? I have a dozem containers and is love if they were all a.server. b.server, c.server. How can I do this? Pihole DNS records don’t do anything at the port level.

jjakc
link
fedilink
11Y

Sorry I meant in your browser. Yes dns does not point to ports.

You would have to use some sort of reverse proxy that is only accessible from internal networks

AggressivelyPassive
link
fedilink
English
21Y

Wolfangs Channel had a video about that a few weeks ago: https://www.youtube.com/watch?v=qlcVx-k-02E

I didn’t try it myself yet, but judging from his other videos, he’s not a complete idiot, so I assume it’s solid advice.

Create a post

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!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog