title: Setting up a SRV record to redirect from subdomain to main domain but different port
body: <p>So this is my desired result.</p>
  
  <p>I have a VPS (hosted at DigitalOcean) that has two servers running. One is a webserver listening on port 80 that can be accessed simply by typing my domain name like <code>myfirefly.me</code></p>
  
  <p>The other server is also a webserver but listening on port 8442. It can be accessed like <code>myfirefly.me:8442</code>.</p>
  
  <p>What I want is to be able to access it like <code>elopakao.myfirefly.me</code>.</p>
  
  <p>If I understood my google results correctly, the easiest way to do this is using SRV records. DigitalOcean provides support for them but I'm having trouble understanding what I need to type in each of the fields. This is my current setup:</p>
  
  <p><code>_sip._tcp.myfirefly.me.    IN SRV  0 5 8442 elopakao.myfirefly.me.</code></p>
  
  <p>where <code>myfirefly.me</code> is my domain and <code>elopakao</code> is the desired subdomain.
  Apparently the setting has propagated but when I type in <code>elopakao.myfirefly.me</code> I don't get anything.</p>
  
  <p>What I'm assuming is happening is that <code>elopakao.myfirefly.me</code> is being routed to <code>elopakao.myfirefly.me:8442</code> instead of <code>myfirefly.me:8442</code></p>
  
  <p>How can I make this work?</p>