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

3 posts / 0 new
Last post
#1 Sat, 07/07/2012 - 12:12
amityweb

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

Hi

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 http://xx.xx.xx.xx/~mysite 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

Mon, 07/09/2012 - 09:54
andreychek

Howdy,

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

http://virtualmin.com/documentation/web/faq

Sat, 07/21/2012 - 16:50
amityweb

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 *.mydomain.com 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.

Thanks

Topic locked