• matchaotter@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    2 个月前

    I got a domain that I only use for email right now but I’d love to set something like this up. Any recommendations on tutorials?

    • Xeno@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 个月前

      Get started with a Linux server and then I’d go with something like Nextcloud in a Docker container. Then do reverse proxy, nginx on the host is very easy. You can get and update SSL certs with certbot (Let’s Encrypt).

      • CrayonDevourer@lemmy.worldBanned
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 个月前

        Just do Caddy instead of nginx/cerbot all that garbage. Caddy just simply handles it all for you: Subdomains, wildcard certs, authentication, ssl

        My whole caddy config file is like 6 lines; something like

        @mydomain.com {

        ipaddress:port

        path:/

        }

        And you can do all sorts of plugins that make it compatible with fail2ban, etc.

        I hear Traefik is pretty easy to set up too.

        • Vittelius@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          2 个月前

          And if you don’t have an unique public IP address, for example because you are behind CGNAT, you can use Pangolin. It tunnels all traffic from your homelab to a VPS via Wireguard and exposes your services via a Traefik reverse proxy. Pangolin also automates the Traefik setup and provides a webui to configure the individual proxies.

          For a VPS I recommended ionos, because they offer servers with unlimited traffic starting at only 1€ per month with server locations in both Europe and the US.