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: 167.235.218.12
) it shows a default page.
![](https://community.mailcow.email/assets/files/2022-12-23/1671824678-797750-image.png)
I want to achieve the exact same thing.
Thanks.