Imo it’s quite nice to not have a public domain like cloud.example.com which is much longer and all the gold ones are taken anyway.

Putting these local ones in my dns server is no issue, but getting https to work seems like a pain. I set up caddy to use its own certificate authority, but even when installing the root certificate to windows, many programs still don’t truth it and most of them don’t show a useful error message. Additionally getting them to trust the certificate is fiddely and then try to explain that to your mom so she can use my cloud.

All this makes me thing about switching back to public subdomains so I can get lets encrypt certificates

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    1
    ·
    56 minutes ago

    like cloud.example.com which is much longer and all the gold ones are taken anyway.

    You can try getting a shorter domain from a ccTLD. I’ve probed my country’s whois for 1-3 digit domains once on a whim and stumbled across one that was free.

  • Y33tMaster69@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    All of my services are currently local only so I just run http on all of them. I do still like being able to use a hostname instead of memorizing port numbers for everything so I do use *.home.lan.

    Eventually I will be exposing some services but right now I am behind cgnat and don’t have a decent router to support modern ipv6 yet.

  • cow@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    14 hours ago

    I use .internal, setup a self-hosted certificate authority providing ACME to servers. The certificate is set to only be valid on .internal domains and not the entire internet and enrolled on my phone and computers.

    • fuckoffplzkthx@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      I’ve never liked this approach - having to enroll certs on every machine always seemed tedious and it’s why I just “dealt with” having HTTPS errors internally for years.

      Honest question, why not set up a reverse proxy that uses Let’s Encrypt? It will handle internal domains if configured appropriately, and then you only have to configure at the proxy and DNS level.

  • barnacles@lemmy.zip
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    22 hours ago

    As far as I’m aware, the only “local” domains are the ones reserved in the RFC, e.g. home.arpa

    Everything else is just a public domain you don’t own, or not a domain. Using a domain that you don’t have authority over carries risks, even if you think you’ve kept everything local. Just use a real domain that belongs to you.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    5
    ·
    16 hours ago

    Using self signed as a route that it’s not going to work after you factor in service specific apps that refuse your self signed certs, phones where installing those certs is a pain, and the overall WAF where installing those certs might just put off family users.

    Add in the mix the new Android 17 fucking “feature” where apps need special permissions to access the local network … (Yeah, Dav5x, home assistant, even Firefox stopped working on my on Android until I figured this out after upgrading to 17). I will write a post on this topic later on today.

  • zelifcam@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    30
    ·
    23 hours ago

    Many years ago I settled on a real domain using reverse proxies / dns overrides so that local and remote work the same. Workflow has been working for well over a decade.

    • davad@lemmy.world
      link
      fedilink
      English
      arrow-up
      25
      ·
      23 hours ago

      This. Also, if you don’t want to allow remote access, you can still use a real domain. It’s possible to use public DNS only for the ACME challenge, and local DNS for everything else.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        That’s the most common sense approach, so you don’t run into situations where your Internet is down and you’re trying to resolve a LAN IP through an unreachable public server. Records may or may not be cached anymore on the local when the connection goes down.

      • plateee@piefed.social
        link
        fedilink
        English
        arrow-up
        13
        ·
        21 hours ago

        I have a public domain, and use a subdomain for my homelab - .lab.myfqdn.com. I do public DNS ACME challenges for a wildcard *.lab.myfqdn.com.

        It’s a double bonus because I don’t have SSL cert records leaked to the internet, and I can also browse internal services on my devices and family devices without having to do weird stuff with SSL cert trusts.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    50 minutes ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    CA (SSL) Certificate Authority
    DNS Domain Name Service/System
    ESPA EELV Secondary Payload Adapter standard for attaching to a second stage
    TLS Transport Layer Security, supersedes SSL
    VPN Virtual Private Network

    [Thread #172 for this comm, first seen 20th Nov 2026, 08:00] [FAQ] [Full list] [Contact] [Source code]

  • boudica@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 hours ago

    x.home.arpa was made for this situation. I’ve been able to use caddy’s certificate with no issues.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    23 hours ago

    The certificate problem that you are running into is the same one I ran into and why I got a domain.

    Now I have Traefik get a wildcard cert from LE and no more issues.

    I don’t have anything publicly accessible so my public DNS record points to an IP on my lan.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      Can I recommend that you move that record to the local DNS? Assuming your router’s firmware has this feature and you can access it.

      Private IPs in public DNS are associated with certain types of attacks and they get filtered by some DNS servers, routers or ISPs so you may run into intermittent “unexplained” hiccups.

      Secondly, if your internet ever goes down in the middle of the night and the records expire from the local DNS cache by morning, you won’t be able to resolve anything on your LAN anymore. Which is a pity because it’s unnecessary, your local setup can work fine independent of the internet connection.

      Last but not least, there are actors out there that use a variety of methods to gather information about the infrastructure behind each domain and the least such information you put out there, the better.

      Run your domain through DNS Robot to get an idea.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    21 hours ago

    I have my own domain with a cert so it is (service).reannlegge.ca in caddy, I don’t really let many of my things out onto the web without the VPN but it is nice having the https and not having to see the this site may not be secure for almost everything I do.

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    22 hours ago

    You don’t have to own a domain. As long as you can satisfy a challenge, such as by publishing a web page under the domain for the HTTP-01 challenge, you can still get certs.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Having access to port 80 on the IP associated with a domain but not to the DNS raises some interesting questions. 🙂

      Unless it’s purely a matter of personal preference but I for one don’t see why you’d want to do HTTP-01 (as a self-hoster) unless forced. It can’t do wildcards, for one thing. And you need an A record pointing to your public IP, and if your public IP is dynamic you need to do DDNS, and open port 80 and so on. That’s a lot of moving pieces that make automation hard.

      Also, if you’re doing DDNS there’s a chance the DNS has some sort of API that might also work for certbot. Granted it’s not a given, I’ve seen registrars that offer a DDNS link but not something you’d call an actual DNS API.

      But anyway finding a decent DNS provider with a certbot-friendly API is not that hard.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        58 minutes ago

        The main use case is someone using a free subdomain. It’s not that uncommon.

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      Using single-label domain names isn’t browser autocompletion, it’s RFC 1034 standard domain resolution behavior based on your search list.

      • CameronDev@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 hours ago

        I dunno if we are referring to the same thing, I mean the browser feature where URLs you’ve visited previously will be auto-suggested by the browser as you type. But I dont fully understand the rfc feature your referring to, so maybe we are thinking of the same thing?

        Either way, the browser makes it easy to revisit URLs without typing the full address.

  • lambalicious@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    22 hours ago

    The need for “proper domains”, where “proper” nowadays seems to mean “Trump-approved”, is an important risk, because then the identity of your homelab depends on the DNS and SSL cartel. It’s one of the reasons I distrust the Gemini protocol and consider it a raw downgrade from Gopher (and from HTML, for that matter).

    If home.arpa is the way to go local, then it’s the way to go local.