I’m running a web-panel on a linux box running some other servers and It’s port forwarded and open to the internet. Going to the public IP:8443 brings up the panel.
Since the domain I’m managing is pointing to a different webserver I made a subdomain and an A record that points to the IP address of the web-panel.
A lgsm IP-Address
Going to lgsm.my.domain:8443 brings up the panel and works properly.
The next step is to somehow utilize a SRV record to redirect not only the IP, but the port as well.
I tried making this SRV record to no avail:
_lgsm._tcp.lgsm. SRV 0 5 8443 lgsm.my.domain
Based on my research this should be right, but going to lgsm.my.domain without defining the port times out. It doesn’t work properly.
Strangely enough it does appear when using dig:
$ dig _lgsm._tcp.lgsm.chillservers.com srv +short
0 5 8443 lgsm.chillservers.com.
This should be possible right? Is there something wrong with my configuration? Could I get some assistance with this?
It’s definitely something with the SRV record because literally everything else in the chain works.