this post was submitted on 30 Oct 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 11 months ago
MODERATORS
 

Let's start with an example. I own a domain domain.com and have setup plex.domain.com for my Plex instance with cloudflare pointing to my IP and Nginx proxy manager doing the reverse proxy part. Everything is working great and with SSL.

Now if I want to use a domain locally what is the recommended setup and naming scheme for all my machines (server, my PC, printers...) and services(Plex, NAS, cloud, heimdall...)

A records in pi-hole for machines: server.local pointing to 192.168.0.101? Or server.domain.local?

CNAME records for services: in pi-hole for plex.local or plex.server.local pointing to server.local?

Is using .local recomended? or .home, .lan?

Bonus question. I want to upgrade from my old and not updated Owncloud to Nextcloud AIO (seems great, tried years ago the non-AIO version and had performance issues with syncing - maybe corrupted installation or misconfiguration, AIO seems to make this easy). The problem is AIO requires TLS. Easy, cloudflare -> nginx proxy manager -> nextcloud container. Now what if I want to access Nextcloud localy? If I go through cloud.domain.com its slow since it goes through cloudflare.

you are viewing a single comment's thread
view the rest of the comments
[–] IGC1K@alien.top 1 points 10 months ago

Hey man, i think we have the exact same setup

I personally have a dashboard that has has all my services, and it’s on cloudflare for access outside the house, but i set up a dns record pointing to my nginx, and cname records of my websites to the dns record

And i use the exact same domain and and other stuff