title: shell script to add list of domains to apache vhosts
body: <p>I have a list of ~900 domains that I need to set up on a linux/apache server.</p>
  
  <p>It would be absolutely brutal to create all of the users/groups/vhosts by hand. Does anybody know of a resource that I could use to automate this?</p>
  
  <p>I guess the script should do these actions:
  Read text file line by line in to array
  For each item in array:
  Useradd 
  Create vhost directory and set it as home for said user
  Create vhost file in /sites-available/</p>
  
  <p>Does anybody have experience with this?</p>