Hi. I want to start selfhosting my data. I already have a jellyfin server running. I’d like to add a nextcloud instance. The setup of nextcloud says I should open up port 443 for using my own domain. Sadly I am not able to open up this port properly. It is open however when I visit jellyfin.mydomaim.com it is rerouted to the config of my router. To circumvent this problem I have set up a reverse proxy that accepts port 8443 instead of 443. For my jellyfin this seems to work. I can visit it with jellyfin.my domain.com:8443. I don’t know how I can get this to work for nextcloud as it only accepts 443. Any advice on my setup is welcome! BTW I am running Debian on an old PC.
Thanks in advance for the help!

  • encode8062OP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago
    • Yes!
    • yes but it is 307 temporary redirect to router config page
    • i am not sure what you mean

    Is it normal i cannot access the jellyfin service from the internal network using the Jellyfin.domain.om

    • fixmycode@feddit.cl
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I feel you can’t access because your router doesn’t loop back connections to your own IP. To fix that you might need to run a local dns that routes traffic to that domain to your local machine, you can do that running a service like dnsmasq and pointing your router to that service instead of the default dns (and always set a secondary DNS in case your service fails)

    • dudeami0@lemmy.dudeami.win
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      If you are seeing your routers config page, and you are sure you are connecting from outside your network, it sounds like the router’s 443 page is overriding the port forwarding. Otherwise, it’s like @fixmycode@feddit.cl said and you just need a local DNS that points to the right spot locally, and let your public DNS point for external connections.

      As for the hosts file, you can see a guide here for windows/linux/mac. Basically this is a override of any DNS entries. Here you can point jellyfin.domain.com to your jellyfin servers LAN IP and test the connection works.