I note under this post here
https://forum.iredmail.org/topic14518-s … -mail.html
it says:
Default virtual host configured in Nginx by iRedMail is a catch-all domain, any domain points to your server IP address will get web pages under /var/www/html. If you want to host both mydomain.com and mail.mydomain.com, please add your own virtual host config file under /etc/nginx/sites-available/ (and create symbol links to /etc/nginx/sites-enabled/).
When I set up my website on Apache I used this tutorial here:
https://www.digitalocean.com/community/ … untu-18-04
This configured Apache to serve my website from a directory other than /var/www/html
So I should be all good???