How to access site using IP without logging in to virtualmin, without hosts file, and without hostname


There seem to be a lot of posts about this, but I cant get it to work.

I would like to access my site under the server IP address, either like Cpanel with a tilda or anything really. But it has to be like that, I do not have a hostname assigned (just IP address), and I need to show others so cannot expect them to login to Virtualmin nor instruct them on the hosts file on their computer.

Just need to access it like:
http://xx.xx.xx.xx/mysite OR
or anything like that

So I clicked Services > Configure Website > Automatic Virtual Hosts and entered /home/%0/public_html (also tried /home/mysite/public_html) but neither worked.

Other threads mention the Apache Webmin Module but I cannot even find that. Is that Pro feature? Does not state that on other sites.

Is there anything else I need to do to enable this???

Thanks a lot


You may want to check out the first article here which describes what you’re trying to do:

Sorry for late reply did not have notifications on this post… wish forums would subscribe automatically!

Anyway, I decided to use sub-domains now. I setup a sub-domain * to point to the server, so actually I dont need to set any up everytime I build a new site, it will automatically point to the server so I can create severs on the fly when I need them easily.