I know how to bind a domain/subdomain to a directory using apache, through virtualhost. I would like to do the same operation without using apache and http. Something that can work using ssh or git protocol. I can't find any data on the internet.
Especially, on github, to clone a repository, you can use "git@github.com:symfony/symfony.git", I'm pretty sure that users managing repositories aren't stored at / .
Any ideas ? Thanks.