title: Create subdomains on the fly with .htaccess (PHP)
body: <p>I am looking to create a system which on signup will create a subdomain on my website for the users account area.</p>
  <p>e.g. <code>johndoe.website.example</code></p>
  <p>I think it would be something to do with the <code>.htaccess</code> file and possibly redirecting to another location on the website? I don't actually know. But any information to start me off would be greatly appreciated.</p>
  <p>Creating a sign up area is not the problem - I have done this many a time. I am just unsure where to start with the subdomain.</p>