Automagically configure subdomains

Hi !

Could there be a way to automatically configure a subdomain when installing an app?

I had thought of implementing a line in each file if Let’s Encrypt was installed. But I don’t move because I can’t get the domain automatically …

Why not write it into the .my.cnf file once entered during the Let’s Encrypt installation process? Like this, when an app is installed, the file /etc/nginx/apps/MySuperApp.conf will be automatically configured for the corresponding subdomain.

It will be like ‘User : Today i want to install … hmmm … Medusa!’

‘Output : Installation is finished you can access medusa @’ without any interaction needed from the user :slight_smile:

PS (Off Topic) : Is it me or phpmyadmin wants to use apache ? I Checked the quickbox.instal.log file and at the end we can see that :

apache2_invoke: Enable configuration phpmyadmin
apache2.service is not active, cannot reload.
invoke-rc.d: initscript apache2, action “reload” failed.