title: Subdomains and DNS
body: <p>I currently have my own domain name and dedicated server and I offer different packages to my clients. What I want to be able to do is have them sign up with my website and create a package automatically that they can access via their username as a subdomain e.g.</p>
  
  <p><a href="http://yourusername.mywebsite.com" rel="noreferrer">http://yourusername.mywebsite.com</a></p>
  
  <p>I currently have DNS entries set up for various subdomains with real information for my website e.g.</p>
  
  <blockquote>
    <p>Name  Type    IP Address<br>
    @       A   1.2.3.4<br>
    bugs    A   1.2.3.4<br>
    support A   1.2.3.4  </p>
  </blockquote>
  
  <p>However, if a new customer signs up at the moment I have to go and manually create an entry for them with their username in it. </p>
  
  <p>I'm sure I've seen websites that manage to do this automatically, does anyone have any ideas how, or any other methods that I should be using?</p>
  
  <p>Thanks,<br>
  Mark</p>