load domain specific content

Posted by wayne on Stack Overflow See other posts from Stack Overflow or by wayne
Published on 2012-09-03T10:11:36Z Indexed on 2012/09/03 15:38 UTC
Read the original article Hit count: 245

Filed under:

Let's say I have an app sitting at

myapp.com

The app has clients or users that are situated here

myapp.com/jonny
myapp.com/sally

I want to allow users to point their own domain to my server (A record) and load their specific content. No redirects or anything.

jonnysapp.com -> myapp.com/jonny

So somehow my server needs to detect where the request is coming from and set the client... correct?

© Stack Overflow or respective owner

Related posts about dns