I have a domain <a href="http://example.com">example.com</a> that runs on a vanilla http server. I will have multiple subdomains whose DNS records will, for now, point to the same paster instance running a different grok app for each. <div>
<br></div><div>How do I go about changing grok (or paster for that matter) to respond to request at a subdomain level instead of the usual virtual folder? </div><div><br></div><div>So say I have my grok app serving at <a href="http://grokapp1.example.com">grokapp1.example.com</a>, by default it will be reached by hitting <a href="http://grokapp1.example.com/grokapp1">grokapp1.example.com/grokapp1</a> or <a href="http://grokapp1.example.com/grokapp2">grokapp1.example.com/grokapp2</a>. What I want to happen is requests for grokapp1 come to <a href="http://grokapp1.example.com">grokapp1.example.com</a> and grokapp2 similarly to <a href="http://grokapp2.example.com">grokapp2.example.com</a>, dropping the need for the directory in the url.</div>
<div><br></div><div>Is there a way to do this?</div>