Currently I have a SS installation for a domain, example.com in a directory /mywebroot.
What I am trying to do is to create a subdomain such as customapi.example.com which will use a a particular controller such as /mywebroot/custom/code/MyCustom.php.
I can already access this controller by accessing example.com/customabc because I defined the routes in my /mywebroot/custom/_config.php. However, I wish to have this controller accessible from the root of the subdomain customapi.example.com so that it runs the controller called MyCustom_Controller inside /mywebroot/custom/code/MyCustom.php as the default controller.
Is this possible? If so, is this something to address inside /mywebroot/.htaccess, or is this a module, or....?
I would appreciate any pointers!