Host site in subfolder but redirect with CNAME?
Posted on 2011-03-17
Can I have a website that is hosted a folder down on the server, like example.com/awebapp, yet redirect it to another domain with DNS settings like CNAME? The idea is that I'd like to use an existing domain name to host multiple sites in subfolders on that domain, like mystuff.com which is really hosted at example.com/mystuff, or somejunk.com really hosted at example.com/somejunk.
To make things even more complicated, is there anyway that those sites can be covered by one SSL cert, even while they're being 'aliased' or 'forwarded' or what have you?