I have just installed a fresh Virtualmin, I only want the https://my-doamin.com:10000 publicly available so I want to disable Hostname default page. Please help me to solve this. Thank you guys!!!
I hope you havenât setup the hostname as a domain in virtualmin, you donât need to do that.
Set your hostname to something like server.mydomaim.com and then just host mydomain.com in virtualmin
Does it prevent other virtual hosts to be accessible if I disable Apache like you said? Because I see that this is the global config so it might affect other virtual servers, right?
My /home/._default_hostname/public_html onky has this index.html file. If I want to use .htaccess, do I have to create it myself or there are other ways to achieve this?
I am not sure what you want but here is the relevant code. With the .htaccess make sure you have local access as I donât know the ._default_hostname account.
index.html
<!DOCTYPE html><title></title>
or
.htaccess
order deny,allow
deny from all
allow from 127.0.0.1
It automatically created Virtual server to port 80, 443 to my system hostname domain. I just want it be accessible by port 10000, can I disable it (I deleted those 2 virtual servers but the host default page still appears) or just leave it there is OK? Thanks !
Never come across that before, the system host name is reserved and does not have any domains produced by virtualmin, I would also think that rather odd user
Was not created by virtualmin/webmin but if you installed virtualmin on a system that had been configured prior to the virtualmin install that would explain that, you need to tell us the complete history of your server setup. If the system was pre configured you may have problems with other services, virtualmin should be installed on a âcleanâ installation of your selected distro
Hi all, I go to Webmin â Servers â Apache Webserver â Global configuration â Per-Directory Options Files , then put the path to index.html (/home/._default_hostname/public_html) and Create Options File with variables above so it works
This is created to try to get a Letâs Encrypt cert before any Virtualmin-managed domains exist (you historically cannot get a cert for an IP from Letâs Encrypt, though they allow it now). Ilia added an automatically generated virtual server for the system hostname (if it resolves), and gets a cert for it, during installation.
Its entire purpose in life is to make it easier to log in the first time. It is confusing, and Iâve never liked it because it is confusing (and it shouldnât be named âdefaultâ, because that makes it seem more important than it is), but Ilia is really insistent this makes things easier and not more confusing.
You can ignore it. You donât need to use it for anything. If youâre spending any time at all thinking about it, trying to do something with it (other than log in the first time), you are doing unnecessary work and thinking too hard about something that does not matter.