August 8th, 2011, 12:54 PM
Using DNS to move port 80 requests to port 8080 (is this possible?)
My knowledge of DNS and its tools are a bit shakey so I may be asking the impossible (or just asking nonsense)
I have a Ubuntu server runnning a web server on port 8080 which multiple URLs are going to hit.
Ideally I would like...
example.com to hit xx.xx.xx.xx:8080 but still look like example.com.
I was hoping to use zoneedit.com which I have always used but it disallows the port number. (I am sure it used to allow it but maybe my memory is going)
Is there an easy to use DNS server that will allow this?
August 8th, 2011, 01:08 PM
You can't set port numbers with DNS. It's not the right layer of technology - DNS has absolutely no care about what it's used for, be that FTP or HTTP or Samba or whatever.
Why not simply use port 80? Otherwise you'll have to set up a proxy on port 80 anyways.
 And by "set up a proxy" I mean "find one that you may already have in some form and/or set one up yourself".
Last edited by requinix; August 8th, 2011 at 05:36 PM.
August 8th, 2011, 01:12 PM
I thought so.
Originally Posted by requinix
Trying to cram multiple applications onto one server for cost purposes.
August 8th, 2011, 05:32 PM
Some routers allow for port translation so the outside world can talk to your site on port 80 but it squirts out of the router on port 8080. Then you wouldn't need the port in the url, but you'd have to do something different on the private network inside the router.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton