I have a list of ~900 domains that I need to set up on a linux/apache server.
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?
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/
Does anybody have experience with this?