I’m trying to self host my portfolio on an old laptop running Ubuntu server. I’ve successfully set up docker and nginx. I got a DNS subdomain from freedns.afraid.org.

The IP connected to the DNS matches my server’s public IP address.

I can connect with https://mypublicip/ from outside the network, but it shows as an insecure connection and the https has lines going through it in the browser.

Any attempts to connect to the website via DNS have failed, and trying to connect via IP on port 80 fails as well. I really have no clue what is going on, let me know if you need more information, or if this is the wrong place to ask for help with this sort of thing.

Edit: Whatever problem I had before, it seems its been fixed. However my subdomain is being blocked by ISPs. Thank you for the help everyone, I’ll probably have to do cloudflare tunneling instead of fully self-hosting it.

  • dr_robotBones@reddthat.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 days ago

    I get ERR_CONNECTION_TIMED_OUT when trying to connect to it. I don’t get any error logs on the server itself. I also got an ERROR_CONNECTION_REFUSED earlier.

    • catloaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      And you’ve verified that the DNS record has the correct IP address? I would check the web server config to make sure it will respond to that name. See if there is anything in the access or error logs.

      • dr_robotBones@reddthat.comOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Yeah the DNS’ public IP matches my server’s. The access logs have some connections from the SSL validation and from when I successfully connected using the public IP address. The error logs are empty.

        • biscuitswalrus@aussie.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          If dns resolved then it’s not blocked. You need to look at your network.

          Bypass dns connect to the ip and port. What happens?

    • Ryan@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      connection timeout doesn’t sound like ssl problem to me. is the webserver actually running? i think i read nginx in a different post, you might look for a running nginx process using

      ps aux | grep nginx

      If it is running, is the connection working with normal http:// on port 80?

      • dr_robotBones@reddthat.comOP
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        3 days ago

        I’ve done further testing with external network connections. I’m getting a Blocked hosts error, it seems my subdomain is being targeted by ISPs.