SRV Records

#1

Hi, I will be self hosting my website soon and I need to my domain to point to port 8080 on my deddicated server.

My question is, what srv service tags do I need to use to make it connect?

My setup;
A: example.net ipaddress autottl
SVR: _http._tcp.example.net 0 0 auto example.net

It doesn’t seem to want to work, is this the right configuration?

#2

Browsers are hard-coded to use port 80 for http:// connections and port 443 for https:// connections. They also don’t check SRV records, they only query for A/AAAA.

In order to get port 8080 to work for your domain, you will either need to go directly to example.com:8080 or use a proxy like Workers to proxy to another port number.

Also see this: How do i forward to a ip with a port number?

1 Like
How to use an ip and port on a A DNS record
closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.