• 0 Posts
  • 3 Comments
Joined 10 months ago
cake
Cake day: February 6th, 2026

help-circle
  • You pretty much have four options, ranging from fully local to network level to VPN to public.

    1.) Good old hosts file. Pro: Easy on linux. Cons: Doesn’t automatically update, needs to be installed manually on each device, some devices (phones) are harder to setup.

    2.) Set DNS records using your router to your local ip, or if it does not support adding DNS records, then use a service like pi hole as your DNS server. Even external DNS providers like Adguard or Cloudflare should work, if you register with an account. You should be able to set up a DNS record for each subdomain, or do something like *.myhost.internal to catch all subdomains. Using the .internal TLD is highly recommended in this setup. Pros: Simple to set up, the router should inform all devices about the changes in DNS. Cons: To get rid of SSL warnings you will need to install the Caddy Root Certificate as a trusted agent on each device.

    3.) Use a service like tailscale or netbird that offers automatic DNS and allows you to bind services (ports) to domain names. Pro: Allows access from anywhere. Cons: Needs to be installed on every device accessing it.

    4.) Setting up a public DNS with a private IP address. Makes things a lot more complicated if you want to use let’s encrypt. Will need to do something like split dns and has to expose the port for the ACME challenge.

    Instead of using let’s encrypt, you may again install the Root Certificates like in step 2 on every device to reduce the complexity by a good amount. Beware that binding public DNS to local IPs is considered bad practice, as it allows for DNS rebinding attacks. Some browsers and devices will complain (unless you use a .internal domain, but these can’t be registered publicly). Pro: If done properly, then, in principle, it should work on any device without setup. Cons: The hardest way of setting things up. Need to open up the network to allow automatic SSL certification. Some devices see this as a security threat.

    If you decide on one of these paths, it is easier to recommend a guide for a specific setup. I feel like your question is mixing up some of these options. I’d also be happy to answer questions on anything but 4.



  • To protect your privacy, always encrypt your sensitive uploads with rclone or something similar. The backend is almost irrelevant then. Still, there are often some unforeseen bugs or artifical limits set by the providers. The only way to find out if a service really works for you is stresstesting it with your workflow. Most services offer a few GB for free to do that. Some examples of what may go wrong: A few years ago I’ve run into some problems with Proton and Zotero and quickly decided against it. My KeePass app stopped syncing with a seadrive server at some point. One nextcloud provider didn’t like my seedvault backups and always dropped them halfway through.

    I’ve been mostly using Koofr because it’s european and there is a lifetime 1TB purchase available on stacksocial. Some view lifetime subscriptions as a controversial business model, but I like it better than a monthly subscription. Koofr also encourages rclone usage and I haven’t run into any problems yet, but, as stated above, your mileage may vary.