Letsencrypt expired, and dns errors

doing a bit contribution here. Trying to add something to my old topic which was closed.

Following this guide, you can use /domain/mail, /domain/admin, /domain/cloud, instead of box.domain/cloud,…

  1. before upgrade, restore back original files:
    backup current working files
    mailinabox/conf/nginx-alldomains.conf
    mailinabox/conf/nginx-primaryonly.conf

  2. modify the above two to achieve the following,
    **modify to use f2f10/mail, /cloud, /admin ,instead of box.f2f10.com/cloud & admin

    move all configurations from nginx-primaryonly.conf to nginx-alldomains.conf;
    and restrict /admin accessed by local subnet only.

    location /admin/ {
    allow 192.168.0.0/16;
    deny all;

  3. #modify nextcloud allowed domains…
    Owncloud
    /usr/local/lib/owncloud/config/config.sample.php
    /home/user-data/owncloud/config.php
    ‘trusted_domains’ =>
    array (
    0 => ‘f2f10.com’,
    1 => ‘voicestream.ca’,
    ),

important step***
##regenerate /etc/nginx/conf.d/local.conf based on above changed templates…
sudo service postfix reload
sudo service nginx restart
$/home/devnull/mailinabox/tools/web_update

good luck…