default VistualHost is simply alphabetically the first in my virtual host list or what? I’ve no created any default VirtualHost.
Can I set “no virtual host” to the IP? I simply need to have http://123.123.123.123 available without any host or domain attached.
Please, note that Webmin->Servers->Apache Webserver say that Default Server is addressed to /var/www/html, but unfortunately I’m not currently able to reach /var/www/html contents…
During setup, Apache was configured to no longer use /var/www for websites. So, with some tweaking, it could be made to work – but that’s the long and hard route
Also, suexec only works under /home, so trying to use /var/www would limit your options.
When you create that new Virtual Server, it will indeed create /home/123.123.123.123/public_html.
My suggestion is to just put your desired website there.
If you don’t like having a directory named “123.123.123.123”, you can always change the username used when creating the Virtual Server.
Oh, I meant to answer this question that you asked earlier –
default VistualHost is simply alphabetically the first in my virtual host list or what? I’ve no created any default VirtualHost.
The default VirtualHost is the first VirtualHost that Apache sees. On Ubuntu/Debian, the default is generally alphabetical. On CentOS, the default is just the first one that was ever created.
But in either case, you can change that default in the Website Options.
However, I suspect that this solution can affect the VirtualMin behavior too (actually it is reached using 123.123.123.123:10000).
Webmin/Virtualmin running on port 10000 wouldn’t actually be affected by any of your settings in Apache… Webmin provides it’s own internal web server, it doesn’t use Apache.
You should be able to reach Webmin by going to port 10000 on any domain that resolves to your IP address.