I just installed MailCow.
First of all it’s amazing.
Just one thing, I want to do.
I don’t want the Dashboard to be accessible if someone directly type the server IP in their browser.
I want the dashboard to be accessible only via whitelisted domains.
On the demo server of MailCow, we can see something similar.
for example: if you open
https://demo.mailcow.email, it’ll open the dashboard.
But if you try to open the IP directly (ie:
126.96.36.199) it shows a default page.
I want to achieve the exact same thing.