Adding a new subdomain
This guide is for admins to see how to add a new subdomain/domain. <new-domain> means the domain that you are trying to setup
1. cd to /etc/apache2/sites-available
2. sudo cp bots.miraheze.wiki.conf <new-domain>.conf
3. Open the new file in your favorite editor and replace the value of ServerName: with the new domain and change DocumentRoot to what ever the document root should be
4. Save the file
5. sudo a2ensite <new-domain>
6. sudo service apache2 restart
7. sudo certbot --apache and say yes to logging
8. when it asks you to specify domains, type in all the number values separated by commas (so, if 5 options are listed then type 1,2,3,4,5)
9. You are all set