diff --git a/README.md b/README.md new file mode 100644 index 0000000..472b289 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# RZH-Server DEMO + +RZH-Server is a server infrastructure running on LXD. Thare will come a deshboard whare you can add mail addresses, DNS domainnames/records, websites, databases and a lot more. +Curently it's in develpment and not sucessfully tesed yet! diff --git a/adddomain b/adddomain deleted file mode 100644 index 005fec3..0000000 --- a/adddomain +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -cat > /etc/bind/named.conf.domains/$1.conf < /etc/bind/named.conf.domain/db.$1 < /etc/apache2/site-available/$1.conf < + ServerAdmin webmaster@localhost + ServerName $1 + DocumentRoot /var/www/$1 + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Order allow,deny + allow from all + + +EOF + +mkdir /var/www/$1