How to mask URL's like cloudapp, so users can showoff our data on "their" server
<p>I'm planning to build a webapp where users can show off their data. I want our users to be able to show it off on their own site, just like cloudapp. You can set your own domain name, but still use the application's hosting service.</p>

<p>So my service is <code>http://example.com/showoff</code> but I want users to have the option to use <code>http://showoff.example.net</code> for their data.</p>

<p>I'm planning on doing it in PHP, but i'm open for suggestions if it comes to building this kind of service.</p>
