Another site appears when I visit an URL like mail.domain

OS type and version Ubuntu Linux 20.04.4
Webmin version 2.001


I just don’t know how to search for this. I’m sure I’m not the first person asking about it …

When I visit a domain (from a browser), say (or any other subdomain that is used on the server but there is no apache virtualhost configured for it) I get another website - one of the sites hosted on this server. Like that site is some kind of a default page …

I know it’s silly to visit from a browser but when it happens it would be better to get error, a blank page or some kind of a default site but not another user’s site.

Can you tell me what could I do to achieve this?

Thank you!


If you don’t have a virtual server setup for “mail.domain” then you’ll get the default virtual server.

1 Like

Thank you!
The “default web page” was the solution.
There is a virtual server which uses our domain name, so I set it as the default website.