1

Possible Duplicate:
How to redirect domain to specific port

I have a domain and I want the domain to be like this:

example.com -> 32.432.32.34:99

Is this possible?

4 Answers4

6

DNS is only for IP mapping. However, you could use a redirect to do a HTTP 302 and point to the IP:port.

MandoMando
  • 245
  • 2
  • 6
1

Short answer: no

  • 2
    In an effort to provide more info, I found this: DNS does not have the concept of "port number" in its records. (This was completely true in the past but is not quite the case today with SRV records which do include a concept of service and thereby in some sense port.) So ignoring SRV records (which practically no clients except AD domain clients trying to reach DCs would use) you cannot use DNS for this but much rather do such routing on the "application server" (e.g., the Web server usually.) http://help.lockergnome.com/windows2/Create-record-redirect-specific-port--ftopict476288.html –  Nov 18 '09 at 18:11
0

no you cannot specify a port.

jldupont
  • 1,779
  • 4
  • 23
  • 27
0

You can use a redirection service that will handle this for you. Basically respond on port 80 and send an http redirect 301/307 to your intended location.

Chris Ballance
  • 304
  • 1
  • 7
  • 20