I have a question:
Suppose I own a site, and a domain, 'mysite.com'.
I provide services to different clients, so clients open sub-domains under my site.
For example, the site 'test.com' will be at my site, at 'mysite.com/test.com', so the clients of 'test.com' will enter this sub-domain.
What I want, is that instead of this, the clients will enter 'test.com', and will see 'mysite.com/test.com'. Offcourse I want that all its sub-sub-domains, e.g. 'mysite.com/test.com/service2' will also be seen like 'test.com/service2', so simple redirect or something like that is not what needed.
The process is:
1. The client, 'test.com', will add a CNAME ( http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=58317 ) at his side, with 'mysite.com'.
(So I can see it with NSLOOKUP Linux command)
2. I will do a thing to achieve what I want.
My question is how to do step 2 of the process ?
I am on Linux, Ubuntu, and maybe the way is something with OPENSSL LINUX command ?
If so, how exactly ? Or what other way ?
I want to do this from the terminal, or with Python, maybe even with both ways, so I can choose.
* First, I want to do this with uncertified sites, without SSL certificates, and later I want to add the option for SSL certificates also.