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.

  • not_a_cop@lemmy.mlOP
    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.