Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
I know this duplicates an existing question, but I can't find it... –  Zoredache Nov 18 '09 at 20:15
    
Only one duplicate? I'm pretty sure I've seen this one several times this week. –  womble Nov 18 '09 at 20:32
add comment

migrated from stackoverflow.com Nov 18 '09 at 20:06

This question came from our site for professional and enthusiast programmers.

marked as duplicate by womble, Kyle Brandt, Zoredache, Alnitak, Sam Nov 19 '09 at 12:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers

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

share|improve this answer
add comment

Short answer: no

share|improve this answer
1  
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.) help.lockergnome.com/windows2/… –  LymanZerga Nov 18 '09 at 18:11
add comment

no you cannot specify a port.

share|improve this answer
add comment

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.

share|improve this answer
add comment