load domain specific content
- by wayne
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?