this post was submitted on 14 Jun 2023
29 points (100.0% liked)

Selfhosted

573 readers
1 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.

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have a few selfhosted services, but I'm slowly adding more. Currently, they're all in subdomains like linkding.sekoia.example etc. However, that adds DNS records to fetch and means more setup. Is there some reason I shouldn't put all my services under a single subdomain with paths (using a reverse proxy), like selfhosted.sekoia.example/linkding?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] key@lemmy.keychat.org 1 points 1 year ago (1 children)

I got around this by hosting adguard as a local DNS and added an override so that my domain resolved to the local IP. But this won't work if you're connected to a VPN as it'll capture your DNS requests

Why didn't you use your hosts file?

[โ€“] TemperateFox 1 points 1 year ago

That would also work, though I also wanted other devices like my mobile and tv to work the same way while at home. With mobile, setting DNS for the Wi-Fi network means it'll access local while at home and via cloudflared while roaming, without having to log out and in on apps to change the server address.