Hello to all!
My Virtualmin is 4.01 GPL installed properly with the install script on a fresh vanilla install of Debian.
First of that, I tried many (many MANY) tutorials, readed the Virtualmin FAQ.
So the situation is that (I provide only example so don't try to resolve dns):
My hostname example is: nx123456.co.uk
IP example is: 25.25.25.25
Result: It works well when DNS are propagated!
Finally I followed the FAQ and in 'System Settings' -> 'Server Templates' and set up thoses settings in the section named 'Virtual server creation' under the 'Default Settings' :
¤ 'Automatically create alias domain' :
ticked on 'Create under' and filled up : nx123456.co.uk
¤ 'Prefix for alias domain':
ticked on 'First part of domain'
And then validated!
-- Virtualmin auto-generated the Alias domain like this one: flushqlick.nx123456.co.uk
By going through webmin I can access to the content of the virtual server by my browser by going to "Services" -> "Preview Website" (link is finally this one: https://nx123456.co.uk:10000/virtual-server/link.cgi/25.25.25.25/http://www.flushqlick.nx123456.co.uk/
BUT BY GOING direct url : http://www.flushqlick.nx123456.co.uk/
So... I didn't figure why it just working through webmin... Can't I make the settings working for pointing by direct url (as I don't want activate the 'Webmin login' for this account... So... Please:
Where I'm wrong? Is it impossible?
Also I readed in FAQ that using UserDir of Apache is discouraged due to CGI scripts, but well... Why the Virtualmin method as described in FAQ just no work when accessed directly and not by passing through webmin?