I would setup for this:
- user go to test.example_site1.org
- test.example_org1.org it's a CNAME of test.example_org2.org
- user will see the page of test.example_org2.org
On the example_org2.org server I use nginx and I have 3 django projects.
test.example_org2.org shows the third django project. http://example_org2.org shows the first django project.
The problem is that I've setup a CNAME on the example_org1.org for pointing test.example_org1.org to test.example_org2.org , but if I try to go to http://test.example_org1.org I see the first django project, which one configurated to the main domain and not to subdomain. Otherwise if I go directly to http://test.example_org2.org all it works and I see my correct project.
Why this issue?