Make IP to show specific virtual server's public_html

4 posts / 0 new
Last post
#1 Fri, 11/11/2011 - 17:52
Qiao

Make IP to show specific virtual server's public_html

I added new Virtual Server "mysite.com". I cannot temporally add real domain to it, but I want to access it by IP.

How can I access it through server's IP, without domain?

I can access Webmin/Virtualmin through 11.111.111.111:56778 . Is it possible to add another port, for example 1234, so I can use 11.111.111.111:1234 to access mysite.com's home/mysite/public_html ?

Or is it possible to make my IP 11.111.111.111 show "home/mysite/public_html" by default? Now it is pointing on some empty directory.

What should I do for this?

Fri, 11/11/2011 - 21:53
lp86

I had a client with the exact same question, here is what to do:

Select the virtual site from the dropdown menu that you want to be accessible from the IP.

Select "Server Configuration" -> "Website Options" then click "Yes" on "Default website for IP address?"

Then click "Save"

The selected site will now be accessible from the IP address.

Fri, 11/11/2011 - 23:40
Qiao

Yep, it helps, thank you.

Sun, 06/10/2012 - 21:09
PepinYaco

looks like pksr2535 spammed up there can someone delete it? lol

Topic locked