0

I self-host a lot of my services, I have gitea and a website running on the same IP address. for the longest time, I've just been adding my port at the end of the URL and it's been pretty decent for the most part, but I want to have git running on its own subdomain.

I've tried using namecheap dns and cloudflare dns and I make the SRV file and the A record but it still points back to the original website

TIBTHINK
  • 1
  • 1
  • Browsers do not honour DNS `SRV` records. – Patrick Mevzek Jul 04 '22 at 07:10
  • is their a better option then? does cname work? – TIBTHINK Jul 04 '22 at 19:31
  • 1
    You can't solve the problem at the DNS level... yet. The future is `SVCB` and `HTTPS` DNS records that start to be available in some browsers and DNS providers but it is not fully a standard yet. `CNAME` records only map a name to another name, there is no handling of ports. – Patrick Mevzek Jul 04 '22 at 21:16

0 Answers0