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.

I have 2 Web Sites and 1 Web Application (WCF Service). I also have one domain, managed by opensrs.net.

I didn't have any problems mapping the sites to the domain, via DNS -> CNAME.

*.abcd.com -> abcd.host.com
play.abcd.com -> abcd.otherhost.com

However, I'm having problems mapping the Web Application.

api.abcd.com -> abcd.otherhost.com:8081

I searched the net, and someone suggested that I should use DNS -> SRV.

api.abcd.com -> Priority: 1
                Weight: 1
                Port: 8081
                Host: abcd.otherhost.com

Still didn't work.

share|improve this question
3  
There is no commonly used HTTP client that uses SRV records for locating a site. There is no way to do this via DNS. –  Zoredache Nov 14 '12 at 8:17

1 Answer 1

up vote 8 down vote accepted

You can't do this via DNS in a reliable way as the use of SRV records for HTTP is not widespread.

The normal way to do this is to use a reverse proxy to proxy requests to the relevant ports.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.