How can you have a git server (not website) use with custom domain?

Say I have example.com and want to link git.example.com to a git server. This is so I can use git.example.com and not worry about moving hosts and reconfiguring origin.

Is it possible? I cannot self-host because I am behind NAT and don’t have ipv6.

  • linkpop
    link
    fedilink
    arrow-up
    3
    ·
    4 years ago

    Just buy a VPS instance for $5/month or something, you can then stick gitlab/gitea/whatever you want on that and not have to deal with Tor/NATs.

    • not_a_copOP
      link
      fedilink
      arrow-up
      2
      ·
      4 years ago

      Yeah a vps is the best way possible.

      given the plethora of git hosting services, I was surprised to not find a way to use custom domains.

      Anyway I’ll probably use a vps.