hello there,
was wondering if there is or if its easy to create a shell script that will let me add domains to a server in bulk (like 200 domain), I want to get a list of domain in a .data file, the script should read the file, create the usernames and group for each domain, set a default password, add to virtualhosting apache, create user folder /home/<user>/
Is this possible? Is there anything like this out there?
I don't know, maybe it can run like this...
#!/bin/sh
cat domain.data | \
while read domain
do
echo "Found domain: $domain"
done
---------------
But than have to do the rest
Can anyone help?
Thanks
Recent comments
1 day 16 hours ago
2 days 1 hour ago
2 days 4 hours ago
2 days 5 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 10 hours ago
2 days 11 hours ago
3 days 3 hours ago
3 days 4 hours ago