I have read various threads regarding this, none of that availed for my situation. What i need to do is :
Create subdomains for a domain, pointing to a folder under the main domain's document root, And that subdomain needs to have the external/internal ip shared with the parent domain. (A single ip assigned to that parent domain at this point).
There are various solutions i found in this forum, but all of the solutions provide for either half of what i need - the ones who provide the first part doesnt allow the ip to be shared with main domain, and the ones which do, require me to create the the subdomain as a sub-server.
I have read enough rhetoric against subdomains and whatnot in the threads i have examined, so therefore i dont think i need any more. If you would want to know a reason - i will create many subdomains, and i dont want separate usernames/passwords, various administration necessities popping up for each of the subdomains, or want to mess with managing many separate or shared ips and the ssl certificates. As it stands now, this is what i need : cpanel style subdomain pointing to a folder under the main domain with the same ip as the main domain, sharing the same ssl cert specific to that domain.
If someone can help me with setting this up with pointers, i will be glad. Thanks !