views:

66

answers:

1

Here's my scenario:

I have two web applications that are hosted on seperate servers. What I'd like to do is have requests for "*.mydomain.com" (i.e. no subdomain, 'www', etc) to go to the first server, and requests for "mysubdomain.mydomain.com" to go to the second server. How do I accomplish this?

Is it just a "CNAME" setting with my domain registrar? like "www.mydomain.com" to ip 11.11.111.111?

I know this isn't necessarily programming related; however, I figured the asnwer would be helpful to others on the site as well, since most questions are web development related.

Thanks!

+2  A: 
CNAME mysubdomain second.server
CNAME *  first.server
vartec